X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-cris%2Fbitops.h;h=e2f49c27ed297ab40dc7187de1639809fa1c9640;hb=005011211f559113686938c2c252b8ee1ab855b5;hp=a569065113d916671f7562c946a8c7690de60fd7;hpb=9ae21d1bb376436285cd5346d3e4b3655d6dd1b9;p=linux-2.6 diff --git a/include/asm-cris/bitops.h b/include/asm-cris/bitops.h index a569065113..e2f49c27ed 100644 --- a/include/asm-cris/bitops.h +++ b/include/asm-cris/bitops.h @@ -14,6 +14,10 @@ /* Currently this is unsuitable for consumption outside the kernel. */ #ifdef __KERNEL__ +#ifndef _LINUX_BITOPS_H +#error only can be included directly +#endif + #include #include #include @@ -154,6 +158,7 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr) #include #include #include +#include #include