mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
kernel: updated omap kernel to 2.6.40.30 aka 3.0.30.
This commit is contained in:
21
src/patches/linux-2.6.40-pandaboard-memcpy.patch
Normal file
21
src/patches/linux-2.6.40-pandaboard-memcpy.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
arch/arm/lib/uaccess_with_memcpy.c: In function 'pin_page_for_write':
|
||||
arch/arm/lib/uaccess_with_memcpy.c:45: error: implicit declaration of function 'kmap_atomic'
|
||||
arch/arm/lib/uaccess_with_memcpy.c:48: error: implicit declaration of function 'kunmap_atomic'
|
||||
make[2]: *** [arch/arm/lib/uaccess_with_memcpy.o] Error 1
|
||||
|
||||
Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
|
||||
|
||||
diff --git a/arch/arm/lib/uaccess_with_memcpy.c b/arch/arm/lib/uaccess_with_memcpy.c
|
||||
index 8b9b136..66945a6 100644
|
||||
--- a/arch/arm/lib/uaccess_with_memcpy.c
|
||||
+++ b/arch/arm/lib/uaccess_with_memcpy.c
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/uaccess.h>
|
||||
+#include <linux/highmem.h>
|
||||
#include <linux/rwsem.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/sched.h>
|
||||
--
|
||||
1.7.6
|
||||
Reference in New Issue
Block a user