summaryrefslogtreecommitdiffstats
path: root/arch/efi/include/asm/bitsperlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/efi/include/asm/bitsperlong.h')
-rw-r--r--arch/efi/include/asm/bitsperlong.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/efi/include/asm/bitsperlong.h b/arch/efi/include/asm/bitsperlong.h
new file mode 100644
index 0000000000..00c1fc2625
--- /dev/null
+++ b/arch/efi/include/asm/bitsperlong.h
@@ -0,0 +1,10 @@
+#ifndef __ASM_BITSPERLONG_H
+#define __ASM_BITSPERLONG_H
+
+#ifdef __x86_64__
+#define BITS_PER_LONG 64
+#else
+#define BITS_PER_LONG 32
+#endif
+
+#endif /* __ASM_BITSPERLONG_H */