OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a9950
)
rx: syscall argument fix
author
Yoshinori Sato
<ysato@users.sourceforge.jp>
Fri, 1 Jan 2016 11:33:19 +0000
(20:33 +0900)
committer
Yoshinori Sato
<yo-satoh@sios.com>
Fri, 28 Jan 2022 13:01:56 +0000
(22:01 +0900)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/rx/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/rx/kernel/entry.S
b/arch/rx/kernel/entry.S
index
8712aca
..
450629c
100644
(file)
--- a/
arch/rx/kernel/entry.S
+++ b/
arch/rx/kernel/entry.S
@@
-138,8
+138,8
@@
syscall_entry:
setpsw i
mov.l #~(THREAD_SIZE - 1),r13
and r0,r13
- mov.l TI_FLAGS[r13],r1
4
- tst #_TIF_WORK_SYSCALL_MASK,r1
4
+ mov.l TI_FLAGS[r13],r1
2
+ tst #_TIF_WORK_SYSCALL_MASK,r1
2
bnz 4f
1:
cmp #__NR_syscalls,r15
@@
-150,7
+150,7
@@
syscall_entry:
shll #2,r15
add #_sys_call_table,r15
mov.l [r15],r15
- mov.l r
7
,[-r0]
+ mov.l r
14
,[-r0]
mov.l r5,[-r0]
jsr r15
add #8,r0