powerpc: Export msr_check_and_set() to modules
authorSimon Guo <wei.guo.simon@gmail.com>
Wed, 23 May 2018 07:01:44 +0000 (15:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 May 2018 06:03:24 +0000 (16:03 +1000)
commitd1c7211281c5e1799f00b2228157530e0f7a671c
tree6135ef0c1d7860e97e71b276c1ebb5ff70ab1698
parent9f9eae5ce717f497812dfc1bda5219bc589b455d
powerpc: Export msr_check_and_set() to modules

PR KVM will need to reuse msr_check_and_set().
This patch exports this API for reuse.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c