aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/bitops-llsc.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-11-20 15:25:22 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 18:42:53 +0900
commit16b529d1d78060254d5bc735390915ca5ccf13a1 (patch)
tree6e28039e44bb1faa421d38a611f352da1f70697b /arch/sh/include/asm/bitops-llsc.h
parent709420dd4e75083ee7920e61c2d0bcc3db9b7405 (diff)
sh: Convert to generic bitops for IRQ-toggling implementation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/bitops-llsc.h')
-rw-r--r--arch/sh/include/asm/bitops-llsc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/bitops-llsc.h b/arch/sh/include/asm/bitops-llsc.h
index 43b8e1a8239..1d2fc0b010a 100644
--- a/arch/sh/include/asm/bitops-llsc.h
+++ b/arch/sh/include/asm/bitops-llsc.h
@@ -141,4 +141,6 @@ static inline int test_and_change_bit(int nr, volatile void * addr)
return retval != 0;
}
+#include <asm-generic/bitops/non-atomic.h>
+
#endif /* __ASM_SH_BITOPS_LLSC_H */