
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>
8 lines
167 B
C
8 lines
167 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ARCH_POWERPC_LOCAL_H
|
|
#define _ARCH_POWERPC_LOCAL_H
|
|
|
|
#include <asm-generic/local.h>
|
|
|
|
#endif /* _ARCH_POWERPC_LOCAL_H */
|