summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/lpar.c
diff options
context:
space:
mode:
authorZhouyi Zhou <zhouzhouyi@gmail.com>2014-08-21 10:41:23 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 23:14:45 +1000
commitd4fe0965e20820f3dd05bcc4d89de3da29bb83aa (patch)
tree899945ec59197b8b6126dbd7404c638a5915ad44 /arch/powerpc/platforms/pseries/lpar.c
parent22e55fcfd6002accfe1e57e59cf429e6700d4ab4 (diff)
downloadtalos-op-linux-d4fe0965e20820f3dd05bcc4d89de3da29bb83aa.tar.gz
talos-op-linux-d4fe0965e20820f3dd05bcc4d89de3da29bb83aa.zip
powerpc/jump_label: use HAVE_JUMP_LABEL?
CONFIG_JUMP_LABEL doesn't ensure HAVE_JUMP_LABEL, if it is not the case use maintainers's own mutex to guard the modification of global values. Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
-rw-r--r--arch/powerpc/platforms/pseries/lpar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c
index 6affea7f0eba..8c509d5397c6 100644
--- a/arch/powerpc/platforms/pseries/lpar.c
+++ b/arch/powerpc/platforms/pseries/lpar.c
@@ -640,7 +640,7 @@ EXPORT_SYMBOL(arch_free_page);
#endif
#ifdef CONFIG_TRACEPOINTS
-#ifdef CONFIG_JUMP_LABEL
+#ifdef HAVE_JUMP_LABEL
struct static_key hcall_tracepoint_key = STATIC_KEY_INIT;
void hcall_tracepoint_regfunc(void)
OpenPOWER on IntegriCloud