diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-05-23 09:01:44 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-24 08:03:24 +0200 |
commit | d1c7211281c5e1799f00b2228157530e0f7a671c (patch) | |
tree | 6135ef0c1d7860e97e71b276c1ebb5ff70ab1698 | |
parent | powerpc/kvm: Prefer fault_in_pages_readable function (diff) | |
download | linux-d1c7211281c5e1799f00b2228157530e0f7a671c.tar.xz linux-d1c7211281c5e1799f00b2228157530e0f7a671c.zip |
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>
-rw-r--r-- | arch/powerpc/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 1237f13fed51..25db000fa5b3 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c @@ -154,6 +154,7 @@ unsigned long msr_check_and_set(unsigned long bits) return newmsr; } +EXPORT_SYMBOL_GPL(msr_check_and_set); void __msr_check_and_clear(unsigned long bits) { |