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)
commitd4fe0965e20820f3dd05bcc4d89de3da29bb83aa
tree899945ec59197b8b6126dbd7404c638a5915ad44
parent22e55fcfd6002accfe1e57e59cf429e6700d4ab4
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