aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/Kbuild
diff options
context:
space:
mode:
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>2014-05-13 18:01:21 +0300
committerStafford Horne <shorne@gmail.com>2017-02-25 04:14:00 +0900
commit11595172537788f0007bfc16590aab18f2b9c40f (patch)
treef1db0dec55a0de2185628d49efdbcbf3297cd840 /arch/openrisc/include/asm/Kbuild
parent0e9f9fd20ce931cc2cf0519c56ae33fc74d656ad (diff)
openrisc: add cmpxchg and xchg implementations
Optimized version that make use of the l.lwa and l.swa atomic instruction pair. Most openrisc cores provide these instructions now, if not available emulation is provided. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> [shorne@gmail.com: remove OPENRISC_HAVE_INST_LWA_SWA config suggesed by Alan Cox https://lkml.org/lkml/2014/7/23/666] [shorne@gmail.com: fixed unused calculated value compiler warning in define cmpxchg] Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/include/asm/Kbuild')
-rw-r--r--arch/openrisc/include/asm/Kbuild2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index 6dd177d28c3b..15e6ed526453 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -10,8 +10,6 @@ generic-y += bugs.h
generic-y += cacheflush.h
generic-y += checksum.h
generic-y += clkdev.h
-generic-y += cmpxchg-local.h
-generic-y += cmpxchg.h
generic-y += cputime.h
generic-y += current.h
generic-y += device.h

Privacy Policy