From: Martin Habets <[EMAIL PROTECTED]>
Date: Sat, 26 May 2007 20:39:09 +0100

> LOL, that was my initial approach until I saw Kyle's code.
> Here's the patch I was preparing for that:

Even better would be to test if the platform has a real CMPXCHG
instruction since sparc32 is not the only platform with this issue.

We can add a KCONFIG variable for that, and not set it on
sparc32 et al.

Alternatively we can have a KCONFIG variable with reversed
logic, like "EMULATED_CMPXCHG" which only the atomically
challenged platforms need to set.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to