aboutsummaryrefslogtreecommitdiff
path: root/include/asm-um/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/bitops.h')
-rw-r--r--include/asm-um/bitops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-um/bitops.h b/include/asm-um/bitops.h
index 46d781953d3..e4d38d437b9 100644
--- a/include/asm-um/bitops.h
+++ b/include/asm-um/bitops.h
@@ -1,6 +1,10 @@
#ifndef __UM_BITOPS_H
#define __UM_BITOPS_H
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
#include "asm/arch/bitops.h"
#endif