Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nios2: remove wrapper header for cmpxchg.h

Since commit 713e9b802e21 ("nios2: Switch to generic __xchg()")
asm/cmpxchg.h for nios2 is merely including asm-generic/cmpxchg.h. Thus,
the wrapper can be omitted and the generic header can be used directly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>

authored by

Tobias Klauser and committed by
Ley Foon Tan
f679b311 6852aa02

+1 -14
+1
arch/nios2/include/asm/Kbuild
··· 6 6 generic-y += bug.h 7 7 generic-y += bugs.h 8 8 generic-y += clkdev.h 9 + generic-y += cmpxchg.h 9 10 generic-y += current.h 10 11 generic-y += device.h 11 12 generic-y += div64.h
-14
arch/nios2/include/asm/cmpxchg.h
··· 1 - /* 2 - * Copyright (C) 2004 Microtronix Datacom Ltd. 3 - * 4 - * This file is subject to the terms and conditions of the GNU General Public 5 - * License. See the file "COPYING" in the main directory of this archive 6 - * for more details. 7 - */ 8 - 9 - #ifndef _ASM_NIOS2_CMPXCHG_H 10 - #define _ASM_NIOS2_CMPXCHG_H 11 - 12 - #include <asm-generic/cmpxchg.h> 13 - 14 - #endif /* _ASM_NIOS2_CMPXCHG_H */