ia64: populate the cmpxchg header with appropriate code
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 3 Apr 2012 17:51:35 +0000 (13:51 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 13 Apr 2012 17:15:16 +0000 (13:15 -0400)
commit85f8f7759e418c814ee2ceacf73eddb9bed39492
treea896b80f398d0e48e44e16ac344de466f4be4545
parent5ba840f9da1ff96e0c6e982608a9e80e35333cc5
ia64: populate the cmpxchg header with appropriate code

commit 93f378883cecb9dcb2cf5b51d9d24175906659da

    "Fix ia64 build errors (fallout from system.h disintegration)"

introduced arch/ia64/include/asm/cmpxchg.h as a temporary
build fix and stated:

    "... leave the migration of xchg() and cmpxchg() to this new
     header file for a future patch."

Migrate the appropriate chunks from asm/intrinsics.h and fix
the whitespace issues in the migrated chunk.

Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/ia64/include/asm/cmpxchg.h
arch/ia64/include/asm/intrinsics.h