summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/system.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-07 18:01:43 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-08 10:35:02 +0900
commitee43a8442bd7a5d611f11958e6f8c8953d26f907 (patch)
treef0ccd147aa44c123079b3d6a92b3719d29d31fcb /arch/sh/include/asm/system.h
parent742fd1bcfb475c702c9b1dd6afc79c08f8dbf7dd (diff)
sh: Provide movli.l/movco.l-based cmpxchg.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/system.h')
-rw-r--r--arch/sh/include/asm/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/system.h b/arch/sh/include/asm/system.h
index 056d68cd2108..fbac113bbfbf 100644
--- a/arch/sh/include/asm/system.h
+++ b/arch/sh/include/asm/system.h
@@ -70,6 +70,8 @@
#ifdef CONFIG_GUSA_RB
#include <asm/cmpxchg-grb.h>
+#elif defined(CONFIG_CPU_SH4A)
+#include <asm/cmpxchg-llsc.h>
#else
#include <asm/cmpxchg-irq.h>
#endif