[PATCH] arch/powerpc/kernel/syscalls.c __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:19:10 +0000 (09:19 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:04:31 +0000 (10:04 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/kernel/syscalls.c

index f72ced11212d500a70e7569568f61e449fb72b24..91b93d917b64aea53aa5ccc54ff8bdfb9c2441b9 100644 (file)
@@ -247,7 +247,7 @@ long ppc64_personality(unsigned long personality)
 #define OVERRIDE_MACHINE    0
 #endif
 
-static inline int override_machine(char *mach)
+static inline int override_machine(char __user *mach)
 {
        if (OVERRIDE_MACHINE) {
                /* change ppc64 to ppc */