common: Drop linux/bitops.h from common header
[oweals/u-boot.git] / include / linux / bitops.h
index a07c70fd485804c8544097d6ba52dbef395e96e5..6b509dce58a4fc6ffa1b0e70d938836da8014cb7 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _LINUX_BITOPS_H
 #define _LINUX_BITOPS_H
 
+#ifndef USE_HOSTCC
+
 #include <asm/types.h>
 #include <asm-generic/bitsperlong.h>
 #include <linux/compiler.h>
@@ -216,4 +218,6 @@ static inline void generic_clear_bit(int nr, volatile unsigned long *addr)
        *p &= ~mask;
 }
 
+#endif /* !USE_HOSTCC */
+
 #endif