Internally include file is already protected in the case of #ifndef CONFIG_ACPI so we don't need these checks.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- arch/arm/kernel/setup.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index c3ed159..953ac40 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -30,9 +30,7 @@ #include <linux/bug.h> #include <linux/compiler.h> #include <linux/sort.h> -#ifdef CONFIG_ACPI #include <linux/acpi.h> -#endif
#include <asm/unified.h> #include <asm/cp15.h>
Internally include file is already protected in the case of #ifndef CONFIG_ACPI so we don't need these checks.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- arch/arm64/kernel/setup.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 75c5995..69f283b 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -41,9 +41,7 @@ #include <linux/memblock.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> -#ifdef CONFIG_ACPI #include <linux/acpi.h> -#endif
#include <asm/fixmap.h> #include <asm/cputype.h> @@ -58,9 +56,7 @@ #include <asm/memblock.h> #include <asm/psci.h> #include <asm/cpu.h> -#ifdef CONFIG_ACPI #include <asm/acpi.h> -#endif
unsigned int processor_id; EXPORT_SYMBOL(processor_id);
On 21 November 2013 19:50, Graeme Gregory graeme.gregory@linaro.org wrote:
Internally include file is already protected in the case of #ifndef CONFIG_ACPI so we don't need these checks.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org
arch/arm64/kernel/setup.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 75c5995..69f283b 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -41,9 +41,7 @@ #include <linux/memblock.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> -#ifdef CONFIG_ACPI #include <linux/acpi.h> -#endif
#include <asm/fixmap.h> #include <asm/cputype.h> @@ -58,9 +56,7 @@ #include <asm/memblock.h> #include <asm/psci.h> #include <asm/cpu.h> -#ifdef CONFIG_ACPI #include <asm/acpi.h> -#endif
unsigned int processor_id; EXPORT_SYMBOL(processor_id); -- 1.8.3.1
Linaro-acpi mailing list Linaro-acpi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-acpi
sorry for my previous stupid email :(
On 21 November 2013 19:50, Graeme Gregory graeme.gregory@linaro.org wrote:
Internally include file is already protected in the case of #ifndef CONFIG_ACPI so we don't need these checks.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org
Acked-by: Hanjun Guo hanjun.guo@linaro.org
arch/arm64/kernel/setup.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 75c5995..69f283b 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -41,9 +41,7 @@ #include <linux/memblock.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> -#ifdef CONFIG_ACPI #include <linux/acpi.h> -#endif
#include <asm/fixmap.h> #include <asm/cputype.h> @@ -58,9 +56,7 @@ #include <asm/memblock.h> #include <asm/psci.h> #include <asm/cpu.h> -#ifdef CONFIG_ACPI #include <asm/acpi.h> -#endif
unsigned int processor_id; EXPORT_SYMBOL(processor_id); -- 1.8.3.1
Linaro-acpi mailing list Linaro-acpi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-acpi
On 21 November 2013 19:50, Graeme Gregory graeme.gregory@linaro.org wrote:
Internally include file is already protected in the case of #ifndef CONFIG_ACPI so we don't need these checks.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org
Acked-by: Hanjun Guo hanjun.guo@linaro.org
arch/arm/kernel/setup.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index c3ed159..953ac40 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -30,9 +30,7 @@ #include <linux/bug.h> #include <linux/compiler.h> #include <linux/sort.h> -#ifdef CONFIG_ACPI #include <linux/acpi.h> -#endif
#include <asm/unified.h>
#include <asm/cp15.h>
1.8.3.1
Linaro-acpi mailing list Linaro-acpi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-acpi