diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-09-16 20:25:05 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-09-17 14:07:49 -0400 |
commit | f4c6b6bc5a4fc8d607f2d89369008c85a3a12a8b (patch) | |
tree | bfcde115df6f7712b3c3356d608ae3a29c01a7c9 /arch/mips/kernel/r2300_switch.S | |
parent | 6eb10bc9e2deab06630261cd05c4cb1e9a60e980 (diff) |
MIPS: Consolidate all CONFIG_CPU_HAS_LLSC use in a single C file.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/r2300_switch.S')
-rw-r--r-- | arch/mips/kernel/r2300_switch.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kernel/r2300_switch.S b/arch/mips/kernel/r2300_switch.S index 656bde2e11b1..698414b7a253 100644 --- a/arch/mips/kernel/r2300_switch.S +++ b/arch/mips/kernel/r2300_switch.S | |||
@@ -46,9 +46,6 @@ | |||
46 | * struct thread_info *next_ti) ) | 46 | * struct thread_info *next_ti) ) |
47 | */ | 47 | */ |
48 | LEAF(resume) | 48 | LEAF(resume) |
49 | #ifndef CONFIG_CPU_HAS_LLSC | ||
50 | sw zero, ll_bit | ||
51 | #endif | ||
52 | mfc0 t1, CP0_STATUS | 49 | mfc0 t1, CP0_STATUS |
53 | sw t1, THREAD_STATUS(a0) | 50 | sw t1, THREAD_STATUS(a0) |
54 | cpu_save_nonscratch a0 | 51 | cpu_save_nonscratch a0 |