Skip to content

Commit

Permalink
MIPS: Loongson-2F: Use CONFIG_CPU_JUMP_WORKAROUNDS to control workaro…
Browse files Browse the repository at this point in the history
…unds.

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>
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Apr 30, 2010
1 parent 8bbda42 commit b197b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/stackframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b197b62

Please sign in to comment.