Skip to content

Commit f679b31

Browse files
tklauserLey Foon Tan
authored andcommitted
nios2: remove wrapper header for cmpxchg.h
Since commit 713e9b8 ("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>
1 parent 6852aa0 commit f679b31

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

‎arch/nios2/include/asm/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ generic-y += bitsperlong.h
66
generic-y += bug.h
77
generic-y += bugs.h
88
generic-y += clkdev.h
9+
generic-y += cmpxchg.h
910
generic-y += current.h
1011
generic-y += device.h
1112
generic-y += div64.h

‎arch/nios2/include/asm/cmpxchg.h‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)