summaryrefslogtreecommitdiff
path: root/linux/src/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-10-09 22:41:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-10-09 22:41:22 +0200
commit5dbe4149457190564c9a9a4f22cc86dbc7924e62 (patch)
tree9d7e7f3b42213a75fec1a48d2f0a4c048effc8d8 /linux/src/include
parent564f10917b933c2bd8ea0292d538b9bfd63d3597 (diff)
Define BITS_PER_LONG for Linux code
* linux/src/include/asm-i386/types.h (BITS_PER_LONG): Define to 32.
Diffstat (limited to 'linux/src/include')
-rw-r--r--linux/src/include/asm-i386/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/src/include/asm-i386/types.h b/linux/src/include/asm-i386/types.h
index 71309ac..d792546 100644
--- a/linux/src/include/asm-i386/types.h
+++ b/linux/src/include/asm-i386/types.h
@@ -39,6 +39,8 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
+#define BITS_PER_LONG 32
+
#endif /* __KERNEL__ */
#endif