Skip to content

Commit

Permalink
nios2: remove wrapper header for cmpxchg.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Ley Foon Tan <[email protected]>
  • Loading branch information
tklauser authored and Ley Foon Tan committed May 8, 2017
1 parent 6852aa0 commit f679b31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions arch/nios2/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ generic-y += bitsperlong.h
generic-y += bug.h
generic-y += bugs.h
generic-y += clkdev.h
generic-y += cmpxchg.h
generic-y += current.h
generic-y += device.h
generic-y += div64.h
Expand Down
14 changes: 0 additions & 14 deletions arch/nios2/include/asm/cmpxchg.h

This file was deleted.

0 comments on commit f679b31

Please sign in to comment.