diff options
Diffstat (limited to 'arch/sh/kernel/entry.S')
-rw-r--r-- | arch/sh/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S index fd5fe2349f20..fe8221855b28 100644 --- a/arch/sh/kernel/entry.S +++ b/arch/sh/kernel/entry.S | |||
@@ -716,8 +716,8 @@ ENTRY(handle_exception) | |||
716 | bt/s 1f ! It's a kernel to kernel transition. | 716 | bt/s 1f ! It's a kernel to kernel transition. |
717 | mov r15, k0 ! save original stack to k0 | 717 | mov r15, k0 ! save original stack to k0 |
718 | /* User space to kernel */ | 718 | /* User space to kernel */ |
719 | mov #0x20, k1 | 719 | mov #(THREAD_SIZE >> 8), k1 |
720 | shll8 k1 ! k1 := 8192 (== THREAD_SIZE) | 720 | shll8 k1 ! k1 := THREAD_SIZE |
721 | add current, k1 | 721 | add current, k1 |
722 | mov k1, r15 ! change to kernel stack | 722 | mov k1, r15 ! change to kernel stack |
723 | ! | 723 | ! |