[RFC] powerpc: use ticket spin lock for !CONFIG_PPC_SPLPAR

Kevin Hao haokexin at gmail.com
Fri Mar 13 16:59:53 AEDT 2015


On Thu, Mar 12, 2015 at 10:13:27PM +1100, Benjamin Herrenschmidt wrote:
> I would do the ifdef'ing differently, something like
> 
> CONFIG_PPC_HAS_LOCK_OWNER
> 
> CONFIG_PPC_TICKET_LOCKS depends on !PPC_HAS_LOCK_OWNER
> 
> and use these two in the code... with SPLPAR select'ing HAS_LOCK_OWNER

OK, will do.

Thanks,
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150313/a0004bf1/attachment-0001.sig>


More information about the Linuxppc-dev mailing list