diff --git a/01-compat-make-compat_alloc_user_space-incorporate-the-access_ok-check.patch b/01-compat-make-compat_alloc_user_space-incorporate-the-access_ok-check.patch index 75ea4ba..2053e03 100644 --- a/01-compat-make-compat_alloc_user_space-incorporate-the-access_ok-check.patch +++ b/01-compat-make-compat_alloc_user_space-incorporate-the-access_ok-check.patch @@ -40,6 +40,9 @@ Cc: Paul Mackerras Cc: Ralf Baechle Cc: --- + + [ edited to fix build on 2.6.32 ] + arch/ia64/include/asm/compat.h | 2 +- arch/mips/include/asm/compat.h | 2 +- arch/parisc/include/asm/compat.h | 2 +- @@ -48,7 +51,7 @@ Cc: arch/sparc/include/asm/compat.h | 2 +- arch/x86/include/asm/compat.h | 2 +- include/linux/compat.h | 2 ++ - kernel/compat.c | 21 +++++++++++++++++++++ + kernel/compat.c | 22 +++++++++++++++++++++ 9 files changed, 30 insertions(+), 7 deletions(-) diff --git a/arch/ia64/include/asm/compat.h b/arch/ia64/include/asm/compat.h @@ -154,11 +157,18 @@ index af931ee..cab23f2 100644 + #endif /* CONFIG_COMPAT */ #endif /* _LINUX_COMPAT_H */ -diff --git a/kernel/compat.c b/kernel/compat.c -index 180d188..61112e5 100644 +diff a/kernel/compat.c b/kernel/compat.c --- a/kernel/compat.c +++ b/kernel/compat.c -@@ -1136,3 +1136,24 @@ compat_sys_sysinfo(struct compat_sysinfo __user *info) +@@ -13,6 +13,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -1137,3 +1137,24 @@ compat_sys_sysinfo(struct compat_sysinfo __user *info) return 0; }