519fa60b60
The whole implementation is done in asm-generic/cmpxchg.h file and there is no reason to duplicate it. Also do not include asm-generic/cmpxchg-local.h because it is already included from asm-generic/cmpxchg.h Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
10 lines
208 B
C
10 lines
208 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_MICROBLAZE_CMPXCHG_H
|
|
#define _ASM_MICROBLAZE_CMPXCHG_H
|
|
|
|
#ifndef CONFIG_SMP
|
|
# include <asm-generic/cmpxchg.h>
|
|
#endif
|
|
|
|
#endif /* _ASM_MICROBLAZE_CMPXCHG_H */
|