summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-15 10:19:10 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 19:04:31 +0100
commitebbd1bce79b3b4778d9e1914a22c42fcfa869cd9 (patch)
tree563fe2be93c7c0c9d47fd20047afdeef9c200953 /arch
parent[PATCH] drivers/input/misc/wistron_btns.c NULL noise removal (diff)
downloadlinux-ebbd1bce79b3b4778d9e1914a22c42fcfa869cd9.tar.xz
linux-ebbd1bce79b3b4778d9e1914a22c42fcfa869cd9.zip
[PATCH] arch/powerpc/kernel/syscalls.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c
index f72ced11212d..91b93d917b64 100644
--- a/arch/powerpc/kernel/syscalls.c
+++ b/arch/powerpc/kernel/syscalls.c
@@ -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 */