commit | ee43a8442bd7a5d611f11958e6f8c8953d26f907 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Thu Aug 07 18:01:43 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Sep 08 10:35:02 2008 +0900 |
tree | f0ccd147aa44c123079b3d6a92b3719d29d31fcb | |
parent | 742fd1bcfb475c702c9b1dd6afc79c08f8dbf7dd [diff] [blame] |
sh: Provide movli.l/movco.l-based cmpxchg. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/include/asm/system.h b/arch/sh/include/asm/system.h index 056d68c..fbac113 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