ia64: Fixup asm/cmpxchg.h
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Mar 2012 18:43:11 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Mar 2012 19:34:07 +0000 (12:34 -0700)
The empty asm/cmpxchg.h file that was provided as a temporary build fix
for the asm/system.h disintgration build problem should really include
<asm/intrinsics.h> to make definitions of xchg() and cmpxchg()
available.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/include/asm/cmpxchg.h

index 507c66c77600792d9aa51250419a8210906a8d19..4c96187e204908bb3a9ba7e37a198df61159ff28 100644 (file)
@@ -1 +1 @@
-/* Future home of xchg() and cmpxchg() */
+#include <asm/intrinsics.h>