projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f0a91
)
[PATCH] arch/powerpc/kernel/syscalls.c __user annotations
author
Al Viro
<viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:19:10 +0000
(09:19 +0000)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/syscalls.c
b/arch/powerpc/kernel/syscalls.c
index
f72ced1
..
91b93d9
100644
(file)
--- 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 */