summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kvm_book3s.h
diff options
context:
space:
mode:
authorSuresh E. Warrier <warrier@linux.vnet.ibm.com>2015-02-25 17:23:53 -0600
committerAlexander Graf <agraf@suse.de>2015-04-21 15:21:28 +0200
commitae75116efdc29bb42f1d99f8c51b5c52965b2413 (patch)
tree6ed10196b120a4bc51c86a16381f445c7b51db09 /arch/powerpc/include/asm/kvm_book3s.h
parentb79013b2449c23f1f505bdf39c5a6c330338b244 (diff)
powerpc: Export __spin_yield
Export __spin_yield so that the arch_spin_unlock() function can be invoked from a module. This will be required for modules where we want to take a lock that is also is acquired in hypervisor real mode. Because we want to avoid running any lockdep code (which may not be safe in real mode), this lock needs to be an arch_spinlock_t instead of a normal spinlock. Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com> Acked-by: Paul Mackerras <paulus@samba.org> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s.h')
0 files changed, 0 insertions, 0 deletions