Searched hist:"37682177 af68478fa83429b735fa16913c2fbb2b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/asm-generic/ |
H A D | atomic.h | diff 37682177af68478fa83429b735fa16913c2fbb2b Mon May 24 16:33:09 CDT 2010 Peter Fritzsche <peter.fritzsche@gmx.de> asm-generic: don't warn that atomic_t is only 24 bit
32-bit Sparc used to only allow usage of 24-bit of it's atomic_t type. This was corrected with linux 2.6.3 when Keith M Wesolowski changed the implementation to use the parisc approach of having an array of spinlocks to protect the atomic_t.
These warnings were also removed from the sparc implementation when the new implementation was merged in BKrev:402e4949VThdc6D3iaosSFUgabMfvw, but the warning still remained in some other places without any 24-bit-only atomic_t implementation inside the kernel.
We should remove these warnings to allow users to rely on the full 32-bit range of atomic_t.
Signed-off-by: Peter Fritzsche <peter.fritzsche@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|