diff options
| author | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-06 10:37:02 -0400 | 
|---|---|---|
| committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-06 10:37:02 -0400 | 
| commit | ab11b487402f97975f3ac1eeea09c82f4431481e (patch) | |
| tree | 86337c5cbbd2b0c4bd07c0847a1dc7de3d898147 /include/linux/types.h | |
| parent | 1c689cbcf2c2b7a35cd237abddd9206bb1b6fee1 (diff) | |
| parent | fc1caf6eafb30ea185720e29f7f5eccca61ecd60 (diff) | |
| download | olio-linux-3.10-ab11b487402f97975f3ac1eeea09c82f4431481e.tar.xz olio-linux-3.10-ab11b487402f97975f3ac1eeea09c82f4431481e.zip  | |
Merge branch 'master' into for-linus
Diffstat (limited to 'include/linux/types.h')
| -rw-r--r-- | include/linux/types.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 336cc39c46f..01a082f56ef 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -8,7 +8,10 @@  #define DECLARE_BITMAP(name,bits) \  	unsigned long name[BITS_TO_LONGS(bits)] - +#else +#ifndef __EXPORTED_HEADERS__ +#warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" +#endif /* __EXPORTED_HEADERS__ */  #endif  #include <linux/posix_types.h>  |