aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/bitops-grb.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-grb.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-grb.h')
-rw-r--r--arch/sh/include/asm/bitops-grb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/asm/bitops-grb.h b/arch/sh/include/asm/bitops-grb.h
index a5907b94395..e73af33acbf 100644
--- a/arch/sh/include/asm/bitops-grb.h
+++ b/arch/sh/include/asm/bitops-grb.h
@@ -166,4 +166,7 @@ static inline int test_and_change_bit(int nr, volatile void * addr)
return retval;
}
+
+#include <asm-generic/bitops/non-atomic.h>
+
#endif /* __ASM_SH_BITOPS_GRB_H */