mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
powerpc/jump_label: Use HAVE_JUMP_LABEL
Commit d4fe0965e2
("powerpc/jump_label: use HAVE_JUMP_LABEL?")
missed a few conversions. Change the remaining uses of
CONFIG_JUMP_LABEL to HAVE_JUMP_LABEL.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
4b4b13d5fe
commit
1bc9e47aa8
@ -18,7 +18,7 @@
|
|||||||
.section ".text"
|
.section ".text"
|
||||||
|
|
||||||
#ifdef CONFIG_TRACEPOINTS
|
#ifdef CONFIG_TRACEPOINTS
|
||||||
#ifdef CONFIG_JUMP_LABEL
|
#ifdef HAVE_JUMP_LABEL
|
||||||
#define OPAL_BRANCH(LABEL) \
|
#define OPAL_BRANCH(LABEL) \
|
||||||
ARCH_STATIC_BRANCH(LABEL, opal_tracepoint_key)
|
ARCH_STATIC_BRANCH(LABEL, opal_tracepoint_key)
|
||||||
#else
|
#else
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_TRACEPOINTS
|
#ifdef CONFIG_TRACEPOINTS
|
||||||
|
|
||||||
#ifndef CONFIG_JUMP_LABEL
|
#ifndef HAVE_JUMP_LABEL
|
||||||
.section ".toc","aw"
|
.section ".toc","aw"
|
||||||
|
|
||||||
.globl hcall_tracepoint_refcount
|
.globl hcall_tracepoint_refcount
|
||||||
@ -78,7 +78,7 @@ hcall_tracepoint_refcount:
|
|||||||
mr r5,BUFREG; \
|
mr r5,BUFREG; \
|
||||||
__HCALL_INST_POSTCALL
|
__HCALL_INST_POSTCALL
|
||||||
|
|
||||||
#ifdef CONFIG_JUMP_LABEL
|
#ifdef HAVE_JUMP_LABEL
|
||||||
#define HCALL_BRANCH(LABEL) \
|
#define HCALL_BRANCH(LABEL) \
|
||||||
ARCH_STATIC_BRANCH(LABEL, hcall_tracepoint_key)
|
ARCH_STATIC_BRANCH(LABEL, hcall_tracepoint_key)
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user