diff options
author | Thiemo Seufer <ths@networkno.de> | 2005-04-01 09:07:13 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:00 -0400 |
commit | 1b3a6e975cbe81c5abc55e4c1b9f5b5250c5f20e (patch) | |
tree | 541db3912172f82d30244cf215b1a1b91d8c6f7f /arch/mips/kernel | |
parent | 7c2740f1c1a7ff2767a92042f39edad7fad95c92 (diff) |
Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP
TLB handlers a bit, match definitions in pgtable-{32,64}.h better.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/head.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S index 124c27e908f4..9f6927169358 100644 --- a/arch/mips/kernel/head.S +++ b/arch/mips/kernel/head.S | |||
@@ -157,6 +157,7 @@ NESTED(kernel_entry, 16, sp) # kernel entry point | |||
157 | LONG_S a2, fw_arg2 | 157 | LONG_S a2, fw_arg2 |
158 | LONG_S a3, fw_arg3 | 158 | LONG_S a3, fw_arg3 |
159 | 159 | ||
160 | MTC0 zero, CP0_CONTEXT # clear context register | ||
160 | PTR_LA $28, init_thread_union | 161 | PTR_LA $28, init_thread_union |
161 | PTR_ADDIU sp, $28, _THREAD_SIZE - 32 | 162 | PTR_ADDIU sp, $28, _THREAD_SIZE - 32 |
162 | set_saved_sp sp, t0, t1 | 163 | set_saved_sp sp, t0, t1 |