Re: [RFT] [SPARC] Emulate cmpxchg like parisc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx>
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 from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux