mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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:
parent
d27e0854d5
commit
6de9c6481d
2 changed files with 5 additions and 4 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue