summaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/bcm1480/smp.c
diff options
context:
space:
mode:
authorAtsushi Nemoto2006-10-10 15:46:52 +0200
committerRalf Baechle2006-10-11 20:30:59 +0200
commit9b95e629eab59ee140fe2b17bbd7fea6821c6085 (patch)
treecda9a07874bd1c7ba3254addbff24bcc7f91ac7d /arch/mips/sibyte/bcm1480/smp.c
parent[MIPS] <asm/irq.h> does not need pt_regs anymore. (diff)
downloadkernel-qcow2-linux-9b95e629eab59ee140fe2b17bbd7fea6821c6085.tar.gz
kernel-qcow2-linux-9b95e629eab59ee140fe2b17bbd7fea6821c6085.tar.xz
kernel-qcow2-linux-9b95e629eab59ee140fe2b17bbd7fea6821c6085.zip
[MIPS] Optimize and cleanup get_saved_sp, set_saved_sp
If CONFIG_BUILD_ELF64 was not selected and gcc had -msym32 option (i.e. 4.0 or newer), there is no point to use %highest, %higher for kernel symbols. This patch also fixes 64-bit SMTC version of get_saved_sp() which is broken but harmless since there is no such CPUs for now. A bonus is set_saved_sp() and SMP version of get_saved_sp() are more readable now. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/bcm1480/smp.c')
0 files changed, 0 insertions, 0 deletions