x86: Generate cmpxchg build failures
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 9 Oct 2009 08:12:46 +0000 (10:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 9 Oct 2009 13:57:00 +0000 (15:57 +0200)
Rework the x86 cmpxchg() implementation to generate build failures
when used on improper types.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <1254771187.21044.22.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found