diff options
Diffstat (limited to 'arch/frv/kernel/switch_to.S')
-rw-r--r-- | arch/frv/kernel/switch_to.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/frv/kernel/switch_to.S b/arch/frv/kernel/switch_to.S index 9e5a583991a3..b5275fa9cd0d 100644 --- a/arch/frv/kernel/switch_to.S +++ b/arch/frv/kernel/switch_to.S | |||
@@ -11,6 +11,7 @@ | |||
11 | # 2 of the License, or (at your option) any later version. | 11 | # 2 of the License, or (at your option) any later version. |
12 | # | 12 | # |
13 | ############################################################################### | 13 | ############################################################################### |
14 | |||
14 | #include <linux/linkage.h> | 15 | #include <linux/linkage.h> |
15 | #include <asm/thread_info.h> | 16 | #include <asm/thread_info.h> |
16 | #include <asm/processor.h> | 17 | #include <asm/processor.h> |
@@ -30,7 +31,7 @@ | |||
30 | # address of frame 0 (userspace) on current kernel stack | 31 | # address of frame 0 (userspace) on current kernel stack |
31 | .globl __kernel_frame0_ptr | 32 | .globl __kernel_frame0_ptr |
32 | __kernel_frame0_ptr: | 33 | __kernel_frame0_ptr: |
33 | .long init_thread_union + THREAD_SIZE - USER_CONTEXT_SIZE | 34 | .long init_thread_union + THREAD_SIZE - FRV_FRAME0_SIZE |
34 | 35 | ||
35 | # address of current task | 36 | # address of current task |
36 | .globl __kernel_current_task | 37 | .globl __kernel_current_task |