• Mark Rutland's avatar
    locking/atomic: parisc: move to ARCH_ATOMIC · 329c161b
    Mark Rutland authored
    We'd like all architectures to convert to ARCH_ATOMIC, as once all
    architectures are converted it will be possible to make significant
    cleanups to the atomics headers, and this will make it much easier to
    generically enable atomic functionality (e.g. debug logic in the
    instrumented wrappers).
    
    As a step towards that, this patch migrates parisc to ARCH_ATOMIC. The
    arch code provides arch_{atomic,atomic64,xchg,cmpxchg}*(), and common
    code wraps these with optional instrumentation to provide the regular
    functions.
    Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
    Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
    Cc: Boqun Feng <boqun.feng@gmail.com>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Will Deacon <will@kernel.org>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lore.kernel.org/r/20210525140232.53872-27-mark.rutland@arm.com
    329c161b
Kconfig 10 KB