[PATCH] powerpc: Export __spin_yield
Paul Mackerras
paulus at samba.org
Fri Mar 20 10:08:48 AEDT 2015
On Wed, Feb 25, 2015 at 05:23:53PM -0600, Suresh E. Warrier wrote:
> 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 at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
More information about the Linuxppc-dev
mailing list