diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-11 12:28:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:17:06 -0400 |
commit | 1e5c374d3833f816b4840227c6949f689af0cb44 (patch) | |
tree | e935b95f49a5a23394b18b2b122b81f289e31586 /arch/m68k/kernel/traps.c | |
parent | b971018bae94bb43ae2402f884684ad69e85f931 (diff) |
[PATCH] misc m68k __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/kernel/traps.c')
-rw-r--r-- | arch/m68k/kernel/traps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c index 4569406a2e1f..759fa244e6cd 100644 --- a/arch/m68k/kernel/traps.c +++ b/arch/m68k/kernel/traps.c | |||
@@ -326,13 +326,13 @@ static inline int do_040writeback1(unsigned short wbs, unsigned long wba, | |||
326 | 326 | ||
327 | switch (wbs & WBSIZ_040) { | 327 | switch (wbs & WBSIZ_040) { |
328 | case BA_SIZE_BYTE: | 328 | case BA_SIZE_BYTE: |
329 | res = put_user(wbd & 0xff, (char *)wba); | 329 | res = put_user(wbd & 0xff, (char __user *)wba); |
330 | break; | 330 | break; |
331 | case BA_SIZE_WORD: | 331 | case BA_SIZE_WORD: |
332 | res = put_user(wbd & 0xffff, (short *)wba); | 332 | res = put_user(wbd & 0xffff, (short __user *)wba); |
333 | break; | 333 | break; |
334 | case BA_SIZE_LONG: | 334 | case BA_SIZE_LONG: |
335 | res = put_user(wbd, (int *)wba); | 335 | res = put_user(wbd, (int __user *)wba); |
336 | break; | 336 | break; |
337 | } | 337 | } |
338 | 338 | ||