make linux/types.h as assembly safe
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 6 Feb 2009 15:17:58 +0000 (20:47 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 6 Feb 2009 15:17:58 +0000 (20:47 +0530)
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
include/linux/types.h

index 712ca53bc348847d7dd7e176f6b0dbabac93fa29..c30973ace890693ae8cadd9d5f78066f472a8b2f 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _LINUX_TYPES_H
 #define _LINUX_TYPES_H
 
+#ifndef __ASSEMBLY__
 #ifdef __KERNEL__
 
 #define DECLARE_BITMAP(name,bits) \
@@ -212,5 +213,5 @@ struct ustat {
 };
 
 #endif /* __KERNEL__ */
-
+#endif /*  __ASSEMBLY__ */
 #endif /* _LINUX_TYPES_H */