aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/types.h
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/linux/types.h
parentNeither asm/types.h nor linux/types.h is required for arch/ia64/include/asm/fpu.h (diff)
downloadwireguard-linux-527bdfee18ac6a4c026060c2c2b1144df9a5bf1f.tar.xz
wireguard-linux-527bdfee18ac6a4c026060c2c2b1144df9a5bf1f.zip
make linux/types.h as assembly safe
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Diffstat (limited to 'include/linux/types.h')
-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 712ca53bc348..c30973ace890 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 */