Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wu Zhangjin and committed by
Ralf Baechle
b197b628 8bbda428

+1 -1
+1 -1
arch/mips/include/asm/stackframe.h
··· 121 121 .endm 122 122 #else 123 123 .macro get_saved_sp /* Uniprocessor variation */ 124 - #ifdef CONFIG_CPU_LOONGSON2F 124 + #ifdef CONFIG_CPU_JUMP_WORKAROUNDS 125 125 /* 126 126 * Clear BTB (branch target buffer), forbid RAS (return address 127 127 * stack) to workaround the Out-of-order Issue in Loongson2F