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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 15:04:55 +0000 (20:04 +0530)
commitb7866a15bf9f90a046986f3fc0588a4f33ce2b68
tree6d31d59246844e15e954ccc68693d1a98e08c778
parentdb146e585de043f91af2bc3c2ceda2d05e2a9984
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