Browse Source

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>
Wu Zhangjin 15 years ago
parent
commit
b197b62866
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/include/asm/stackframe.h

+ 1 - 1
arch/mips/include/asm/stackframe.h

@@ -121,7 +121,7 @@
 		.endm
 		.endm
 #else
 #else
 		.macro	get_saved_sp	/* Uniprocessor variation */
 		.macro	get_saved_sp	/* Uniprocessor variation */
-#ifdef CONFIG_CPU_LOONGSON2F
+#ifdef CONFIG_CPU_JUMP_WORKAROUNDS
 		/*
 		/*
 		 * Clear BTB (branch target buffer), forbid RAS (return address
 		 * Clear BTB (branch target buffer), forbid RAS (return address
 		 * stack) to workaround the Out-of-order Issue in Loongson2F
 		 * stack) to workaround the Out-of-order Issue in Loongson2F