aboutsummaryrefslogtreecommitdiffstats
path: root/tools/arch/s390/include/uapi/asm/bitsperlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/s390/include/uapi/asm/bitsperlong.h')
-rw-r--r--tools/arch/s390/include/uapi/asm/bitsperlong.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/arch/s390/include/uapi/asm/bitsperlong.h b/tools/arch/s390/include/uapi/asm/bitsperlong.h
new file mode 100644
index 000000000000..e351ea2ad43e
--- /dev/null
+++ b/tools/arch/s390/include/uapi/asm/bitsperlong.h
@@ -0,0 +1,12 @@
+#ifndef __ASM_S390_BITSPERLONG_H
+#define __ASM_S390_BITSPERLONG_H
+
+#ifndef __s390x__
+#define __BITS_PER_LONG 32
+#else
+#define __BITS_PER_LONG 64
+#endif
+
+#include <asm-generic/bitsperlong.h>
+
+#endif /* __ASM_S390_BITSPERLONG_H */