]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/spinlocks: Refactor SHARED_PROCESSOR
authorChristopher M. Riedl <cmr@informatik.wtf>
Tue, 13 Aug 2019 03:13:12 +0000 (22:13 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Aug 2019 03:03:36 +0000 (13:03 +1000)
commitd57b78353a99f5d813248954dd7d0527a01751ac
tree70177d1eaa526076ac2e87bac05a5e01772869e5
parentd7fb5b18a540efaf05da2b980fc11d50ba775677
powerpc/spinlocks: Refactor SHARED_PROCESSOR

Determining if a processor is in shared processor mode is not a constant
so don't hide it behind a #define.

Signed-off-by: Christopher M. Riedl <cmr@informatik.wtf>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190813031314.1828-2-cmr@informatik.wtf
arch/powerpc/include/asm/spinlock.h