powerpc/jump_label: use HAVE_JUMP_LABEL?
authorZhouyi Zhou <zhouzhouyi@gmail.com>
Thu, 21 Aug 2014 02:41:23 +0000 (10:41 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:45 +0000 (23:14 +1000)
commitf024cd3135fbeadd80515e25977573798e4e296a
tree899945ec59197b8b6126dbd7404c638a5915ad44
parent72479d8655e0a964d79e27dc042be7c798f2d617
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>
arch/powerpc/platforms/powernv/opal-tracepoints.c
arch/powerpc/platforms/pseries/lpar.c