sh: Proper __put_user_asm() size mismatch fix.

This fixes up the workaround in 2b4b2bb421
and cleans up __put_user_asm() to get the sizing right from the onset.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
OGAWA Hirofumi 2008-07-29 09:16:33 +09:00 committed by Paul Mundt
parent d27e0854d5
commit 6de9c6481d
2 changed files with 5 additions and 4 deletions

View file

@ -76,8 +76,7 @@ do { \
__put_user_asm(x, ptr, retval, "w"); \
break; \
case 4: \
__put_user_asm((u32)x, ptr, \
retval, "l"); \
__put_user_asm(x, ptr, retval, "l"); \
break; \
case 8: \
__put_user_u64(x, ptr, retval); \