[RFC] arm: Add for atomic half word exchange

Arnd Bergmann arnd at arndb.de
Tue May 19 04:42:42 PDT 2015


On Tuesday 19 May 2015 11:20:11 Sarbojit Ganguly wrote:
> Yes, I will try to do that. OTOH, I saw that  there was a discussion on
> removal of bad_xchg() altogether. Perhaps that approach be better than
> adding this half word exchange?

Removing bad_xchg() only helps insofar as we get a link-time error
instead of a run-time error. That is certainly a good idea, but it
does not solve your problem.

	Arnd



More information about the linux-arm-kernel mailing list