summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bitsperlong.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-05-18 17:55:24 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-05-18 17:55:24 +1000
commita42bc5ef61cd6a1e7b9ef9a04a16bae628e23d6c (patch)
treee41ef340022a85abeefa9cba070c30acda5e0b06 /arch/x86/include/asm/bitsperlong.h
parentfe8b44a9ede7df70b886e53d3ca609eaa675aaf1 (diff)
parent52f9ce5dd9c55445b658cde1d3883afa871b4828 (diff)
Merge commit 'asm-generic/next'
Diffstat (limited to 'arch/x86/include/asm/bitsperlong.h')
-rw-r--r--arch/x86/include/asm/bitsperlong.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/bitsperlong.h b/arch/x86/include/asm/bitsperlong.h
new file mode 100644
index 000000000000..b0ae1c4dc791
--- /dev/null
+++ b/arch/x86/include/asm/bitsperlong.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_X86_BITSPERLONG_H
+#define __ASM_X86_BITSPERLONG_H
+
+#ifdef __x86_64__
+# define __BITS_PER_LONG 64
+#else
+# define __BITS_PER_LONG 32
+#endif
+
+#include <asm-generic/bitsperlong.h>
+
+#endif /* __ASM_X86_BITSPERLONG_H */
+