summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-04-10 20:07:01 +0800
committerRalf Baechle <ralf@linux-mips.org>2010-04-30 20:52:58 +0100
commitb197b6286650feb9c991826519065aac6f4399b1 (patch)
tree96bb05f49595948f2a7f9fbe985da59cdfa55f83 /arch/mips/include/asm
parent8bbda428e90a2b638428fbb07abd80b9cb624a27 (diff)
downloadlinux-b197b6286650feb9c991826519065aac6f4399b1.tar.gz
linux-b197b6286650feb9c991826519065aac6f4399b1.tar.bz2
linux-b197b6286650feb9c991826519065aac6f4399b1.zip
MIPS: Loongson-2F: Use CONFIG_CPU_JUMP_WORKAROUNDS to control workarounds.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips <linux-mips@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/1106/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/stackframe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h
index c8419129e770..58730c5ce4bf 100644
--- a/arch/mips/include/asm/stackframe.h
+++ b/arch/mips/include/asm/stackframe.h
@@ -121,7 +121,7 @@
.endm
#else
.macro get_saved_sp /* Uniprocessor variation */
-#ifdef CONFIG_CPU_LOONGSON2F
+#ifdef CONFIG_CPU_JUMP_WORKAROUNDS
/*
* Clear BTB (branch target buffer), forbid RAS (return address
* stack) to workaround the Out-of-order Issue in Loongson2F