]> Pileus Git - ~andy/linux/blobdiff - include/asm-sh/bitops.h
sh: remove PTRACE_O_TRACESYSGOOD from asm/ptrace.h
[~andy/linux] / include / asm-sh / bitops.h
index 1c16792cee1dbaf239948ac8971dd2ad7290865e..df805f20b26786a3d74478a0c2fd6e10bf1777e5 100644 (file)
@@ -2,6 +2,11 @@
 #define __ASM_SH_BITOPS_H
 
 #ifdef __KERNEL__
+
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <asm/system.h>
 /* For __swab32 */
 #include <asm/byteorder.h>
@@ -137,6 +142,7 @@ static inline unsigned long __ffs(unsigned long word)
 #include <asm-generic/bitops/find.h>
 #include <asm-generic/bitops/ffs.h>
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 #include <asm-generic/bitops/sched.h>
 #include <asm-generic/bitops/ext2-non-atomic.h>
 #include <asm-generic/bitops/ext2-atomic.h>