summaryrefslogtreecommitdiffstats
path: root/arch/mips
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
parent8bbda428e90a2b638428fbb07abd80b9cb624a27 (diff)
downloadop-kernel-dev-b197b6286650feb9c991826519065aac6f4399b1.zip
op-kernel-dev-b197b6286650feb9c991826519065aac6f4399b1.tar.gz
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')
-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 c841912..58730c5 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
OpenPOWER on IntegriCloud