]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix .27 build breakage
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 15 Sep 2010 23:10:51 +0000 (16:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 15 Sep 2010 23:10:51 +0000 (16:10 -0700)
queue-2.6.27/compat-make-compat_alloc_user_space-incorporate-the-access_ok.patch

index 708af9718ef9eb6dc07ba181e8a5afba81f9a3bc..0052bf33665e7ed3e30d26bb98d309abc1396052 100644 (file)
@@ -53,8 +53,8 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  include/asm-parisc/compat.h       |    2 +-
  include/asm-x86/compat.h          |    2 +-
  include/linux/compat.h            |    2 ++
- kernel/compat.c                   |   2+++++++++++++++++++++
- 9 files changed, 30 insertions(+), 7 deletions(-)
+ kernel/compat.c                   |   22 ++++++++++++++++++++++
+ 9 files changed, 31 insertions(+), 7 deletions(-)
 
 --- a/arch/ia64/include/asm/compat.h
 +++ b/arch/ia64/include/asm/compat.h
@@ -145,7 +145,15 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  #endif /* _LINUX_COMPAT_H */
 --- a/kernel/compat.c
 +++ b/kernel/compat.c
-@@ -1081,3 +1081,24 @@ compat_sys_sysinfo(struct compat_sysinfo
+@@ -23,6 +23,7 @@
+ #include <linux/timex.h>
+ #include <linux/migrate.h>
+ #include <linux/posix-timers.h>
++#include <linux/module.h>
+ #include <asm/uaccess.h>
+@@ -1081,3 +1082,24 @@ compat_sys_sysinfo(struct compat_sysinfo
  
        return 0;
  }