aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-14 19:14:25 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-14 19:14:25 -0500
commit671289c2872cfc050954ac1dd3131429fca30aad (patch)
treefdcd9ad15cc5c7ed91518a3cae895d2cf13a7bfd /arch
parent11b9369cbb0a13cabb581aec3e6812a171cf2fd7 (diff)
ARM: Fix build regression on SA11x0, PXA, and H720x targets
Build errors similar this appeared in todays kautobuild for the above targets: In file included from arch/arm/include/asm/pgtable.h:461, from arch/arm/mach-pxa/generic.c:26: include/asm-generic/pgtable.h: In function 'ptep_test_and_clear_young': include/asm-generic/pgtable.h:29: error: dereferencing pointer to incomplete type None of the .c files including asm/pgtable.h with this error is using this header, so simply remove the include. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-h720x/h7201-eval.c1
-rw-r--r--arch/arm/mach-h720x/h7202-eval.c1
-rw-r--r--arch/arm/mach-pxa/generic.c1
-rw-r--r--arch/arm/mach-sa1100/generic.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-h720x/h7201-eval.c b/arch/arm/mach-h720x/h7201-eval.c
index 79f0b896e446..629454d71c8d 100644
--- a/arch/arm/mach-h720x/h7201-eval.c
+++ b/arch/arm/mach-h720x/h7201-eval.c
@@ -23,7 +23,6 @@
23#include <asm/types.h> 23#include <asm/types.h>
24#include <asm/mach-types.h> 24#include <asm/mach-types.h>
25#include <asm/page.h> 25#include <asm/page.h>
26#include <asm/pgtable.h>
27#include <asm/mach/arch.h> 26#include <asm/mach/arch.h>
28#include <mach/hardware.h> 27#include <mach/hardware.h>
29#include "common.h" 28#include "common.h"
diff --git a/arch/arm/mach-h720x/h7202-eval.c b/arch/arm/mach-h720x/h7202-eval.c
index cc28b1efe047..e9f46b696354 100644
--- a/arch/arm/mach-h720x/h7202-eval.c
+++ b/arch/arm/mach-h720x/h7202-eval.c
@@ -23,7 +23,6 @@
23#include <asm/types.h> 23#include <asm/types.h>
24#include <asm/mach-types.h> 24#include <asm/mach-types.h>
25#include <asm/page.h> 25#include <asm/page.h>
26#include <asm/pgtable.h>
27#include <asm/mach/arch.h> 26#include <asm/mach/arch.h>
28#include <mach/irqs.h> 27#include <mach/irqs.h>
29#include <mach/hardware.h> 28#include <mach/hardware.h>
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index d6e15f71fc09..f5d91efc2965 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -22,7 +22,6 @@
22 22
23#include <mach/hardware.h> 23#include <mach/hardware.h>
24#include <asm/system.h> 24#include <asm/system.h>
25#include <asm/pgtable.h>
26#include <asm/mach/map.h> 25#include <asm/mach/map.h>
27#include <asm/mach-types.h> 26#include <asm/mach-types.h>
28 27
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c
index 59d14f0fdcf8..e21f3470eece 100644
--- a/arch/arm/mach-sa1100/generic.c
+++ b/arch/arm/mach-sa1100/generic.c
@@ -21,7 +21,6 @@
21#include <asm/div64.h> 21#include <asm/div64.h>
22#include <mach/hardware.h> 22#include <mach/hardware.h>
23#include <asm/system.h> 23#include <asm/system.h>
24#include <asm/pgtable.h>
25#include <asm/mach/map.h> 24#include <asm/mach/map.h>
26#include <asm/mach/flash.h> 25#include <asm/mach/flash.h>
27#include <asm/irq.h> 26#include <asm/irq.h>