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>
Šī revīzija ir iekļauta:
Zhouyi Zhou
2014-08-21 10:41:23 +08:00
revīziju iesūtīja Michael Ellerman
vecāks 22e55fcfd6
revīzija d4fe0965e2
2 mainīti faili ar 2 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -2,7 +2,7 @@
#include <linux/jump_label.h>
#include <asm/trace.h>
#ifdef CONFIG_JUMP_LABEL
#ifdef HAVE_JUMP_LABEL
struct static_key opal_tracepoint_key = STATIC_KEY_INIT;
void opal_tracepoint_regfunc(void)