提交 ae2c760f 编写于 作者: C Christophe Leroy 提交者: Michael Ellerman

powerpc/inst: Remove PPC_INST_BL

Convert last users of PPC_INST_BL to PPC_RAW_BL()

And remove PPC_INST_BL.
Signed-off-by: NChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/d9eacb758e7ae7cf224211ebe3f6f7d409a333be.1652074503.git.christophe.leroy@csgroup.eu
上级 e0c2ef43
...@@ -301,7 +301,6 @@ ...@@ -301,7 +301,6 @@
#define PPC_INST_ADDIS 0x3c000000 #define PPC_INST_ADDIS 0x3c000000
#define PPC_INST_ADD 0x7c000214 #define PPC_INST_ADD 0x7c000214
#define PPC_INST_DIVD 0x7c0003d2 #define PPC_INST_DIVD 0x7c0003d2
#define PPC_INST_BL 0x48000001
#define PPC_INST_BRANCH_COND 0x40800000 #define PPC_INST_BRANCH_COND 0x40800000
/* Prefixes */ /* Prefixes */
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
} while (0) } while (0)
/* bl (unconditional 'branch' with link) */ /* bl (unconditional 'branch' with link) */
#define PPC_BL(dest) EMIT(PPC_INST_BL | (((dest) - (unsigned long)(image + ctx->idx)) & 0x03fffffc)) #define PPC_BL(dest) EMIT(PPC_RAW_BL((dest) - (unsigned long)(image + ctx->idx)))
/* "cond" here covers BO:BI fields. */ /* "cond" here covers BO:BI fields. */
#define PPC_BCC_SHORT(cond, dest) \ #define PPC_BCC_SHORT(cond, dest) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册