diff options
Diffstat (limited to 'arch/sh/kernel/entry-common.S')
-rw-r--r-- | arch/sh/kernel/entry-common.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index 926b2e7b11c1..9a1837d5b54e 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S | |||
@@ -262,6 +262,7 @@ __restore_all: | |||
262 | 262 | ||
263 | .align 2 | 263 | .align 2 |
264 | syscall_badsys: ! Bad syscall number | 264 | syscall_badsys: ! Bad syscall number |
265 | get_current_thread_info r8, r0 | ||
265 | mov #-ENOSYS, r0 | 266 | mov #-ENOSYS, r0 |
266 | bra resume_userspace | 267 | bra resume_userspace |
267 | mov.l r0, @(OFF_R0,r15) ! Return value | 268 | mov.l r0, @(OFF_R0,r15) ! Return value |