|
@@ -21,15 +21,15 @@
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_CPU_MICROMIPS
|
|
#ifdef CONFIG_CPU_MICROMIPS
|
|
|
-#define NOP_INSN "nop32"
|
|
|
|
|
|
|
+#define B_INSN "b32"
|
|
|
#else
|
|
#else
|
|
|
-#define NOP_INSN "nop"
|
|
|
|
|
|
|
+#define B_INSN "b"
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
|
|
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
|
|
|
{
|
|
{
|
|
|
- asm_volatile_goto("1:\t" NOP_INSN "\n\t"
|
|
|
|
|
- "nop\n\t"
|
|
|
|
|
|
|
+ asm_volatile_goto("1:\t" B_INSN " 2f\n\t"
|
|
|
|
|
+ "2:\tnop\n\t"
|
|
|
".pushsection __jump_table, \"aw\"\n\t"
|
|
".pushsection __jump_table, \"aw\"\n\t"
|
|
|
WORD_INSN " 1b, %l[l_yes], %0\n\t"
|
|
WORD_INSN " 1b, %l[l_yes], %0\n\t"
|
|
|
".popsection\n\t"
|
|
".popsection\n\t"
|