summaryrefslogtreecommitdiff
path: root/arch/x86/include/uapi/asm/bitsperlong.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-12-15 02:37:13 +0400
committerDavid Howells <dhowells@redhat.com>2012-12-15 02:37:13 +0400
commitaf170c5061dd78512c469e6e2d211980cdb2c193 (patch)
treea3bb86ee66b69f832b6783124cc0482ce8058cd8 /arch/x86/include/uapi/asm/bitsperlong.h
parentd42b3a2906a10b732ea7d7f849d49be79d242ef0 (diff)
downloadlinux-af170c5061dd78512c469e6e2d211980cdb2c193.tar.xz
UAPI: (Scripted) Disintegrate arch/x86/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86/include/uapi/asm/bitsperlong.h')
-rw-r--r--arch/x86/include/uapi/asm/bitsperlong.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/bitsperlong.h b/arch/x86/include/uapi/asm/bitsperlong.h
new file mode 100644
index 000000000000..b0ae1c4dc791
--- /dev/null
+++ b/arch/x86/include/uapi/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 */
+