X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-generic%2Fbitops.h;h=c9f369c4bd7ed3d9fd2e65ff5ee65634d48cf77e;hb=accba5f3965d6a9d1bf7c1e1a7995d17e9d521b6;hp=e022a0f59e6bb8707268466922adcb849e9e284e;hpb=70180659a479b55387eca8cc1fa7024ba8410b14;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-generic/bitops.h b/include/asm-generic/bitops.h index e022a0f59e6..c9f369c4bd7 100644 --- a/include/asm-generic/bitops.h +++ b/include/asm-generic/bitops.h @@ -17,7 +17,9 @@ #include #include -#ifdef __KERNEL__ +#ifndef _LINUX_BITOPS_H +#error only can be included directly +#endif #include #include @@ -28,6 +30,4 @@ #include #include -#endif /* __KERNEL__ */ - #endif /* _ASM_GENERIC_BITOPS_H */