]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf006ba6e619c048ad7a67a1c47799928d4f2e6b4
treea896b80f398d0e48e44e16ac344de466f4be4545
parent5c67c884d8b1c361995381669198d5ca208271ff
ia64: populate the cmpxchg header with appropriate code

commit f053b4d8e2c6e1bd4e573ca0a0bb35a81c1b4c34

    "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