aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-06 20:47:58 +0530
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-06 20:47:58 +0530
commit527bdfee18ac6a4c026060c2c2b1144df9a5bf1f (patch)
treec92bd329e5720919e7fbcc91aa52d7f440796440 /include
parent2678c07b07ac2076675e5d57653bdf02e9af1950 (diff)
make linux/types.h as assembly safe
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index 712ca53bc34..c30973ace89 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -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 */