aboutsummaryrefslogtreecommitdiff
path: root/include/asm-blackfin/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/bitops.h')
-rw-r--r--include/asm-blackfin/bitops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-blackfin/bitops.h b/include/asm-blackfin/bitops.h
index 03ecedc1f2a..b39a175c79c 100644
--- a/include/asm-blackfin/bitops.h
+++ b/include/asm-blackfin/bitops.h
@@ -11,6 +11,10 @@
#ifdef __KERNEL__
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
#include <asm-generic/bitops/ffs.h>
#include <asm-generic/bitops/__ffs.h>
#include <asm-generic/bitops/sched.h>