powerpc: use generic atomic implementation for local_t
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Wed, 20 Dec 2017 03:55:56 +0000 (09:25 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jan 2018 11:37:04 +0000 (22:37 +1100)
commit3b7e30208699e23a70565601cac54b1f0741b6d7
tree992fb4131ea2323d4ab6d84e355cefe99580ef64
parentc6424382de996c216e81cfccf5cf2371157df651
powerpc: use generic atomic implementation for local_t

powerpc implements local_t with atomic operations. There is already
an asm-generic implementation which does this using atomic_t.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/local.h