• Paul Gortmaker's avatar
    alpha: fix build failures from system.h dismemberment · 5ba840f9
    Paul Gortmaker authored
    commit ec221208
    
        "Disintegrate asm/system.h for Alpha"
    
    combined with commit b4816afa
    
        "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: default avatarMatt Turner <mattst88@gmail.com>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    5ba840f9
xchg.h 5.47 KB