]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: fix build failures from system.h dismemberment
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 2 Apr 2012 20:04:13 +0000 (16:04 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 13 Apr 2012 17:15:16 +0000 (13:15 -0400)
commite517ad772fe624c08d09973d71bc9c0c8be16569
tree96ebea9798d3a15630c3ba73b730beb4d99689ab
parent321534157363a48672eb14d02bab9f757d91aa7c
alpha: fix build failures from system.h dismemberment

commit 755ad1a1ccb28d39f4569777c6a9bf59a1807b21

    "Disintegrate asm/system.h for Alpha"

combined with commit 7c4aebd15a354036870e10229f99b2c4e5aba6d7

    "Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the alpha arch
never got one.  Fork the cmpxchg content out of the asm/atomic.h
file to create one.

Some minor whitespace fixups were done on the block of code that
created the new file.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/alpha/include/asm/atomic.h
arch/alpha/include/asm/cmpxchg.h [new file with mode: 0644]
arch/alpha/include/asm/xchg.h