[PATCH 12/11] ARM: include linux/highmem.h in uaccess functions

Arnd Bergmann arnd at arndb.de
Sun Oct 2 09:46:32 EDT 2011


When highpte support is enabled, this is required to build
the kernel.
    
Signed-off-by: Arnd Bergmann <arnd at arndb.de>

---
I was missing this patch at first, but now found it in the omap branch.

diff --git a/arch/arm/lib/uaccess_with_memcpy.c b/arch/arm/lib/uaccess_with_memcpy.c
index 8b9b136..025f742 100644
--- a/arch/arm/lib/uaccess_with_memcpy.c
+++ b/arch/arm/lib/uaccess_with_memcpy.c
@@ -17,6 +17,7 @@
 #include <linux/sched.h>
 #include <linux/hardirq.h> /* for in_atomic() */
 #include <linux/gfp.h>
+#include <linux/highmem.h>
 #include <asm/current.h>
 #include <asm/page.h>
 



More information about the linux-arm-kernel mailing list