summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/types.h')
-rw-r--r--arch/s390/include/asm/types.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/s390/include/asm/types.h b/arch/s390/include/asm/types.h
new file mode 100644
index 00000000..dccef3ca
--- /dev/null
+++ b/arch/s390/include/asm/types.h
@@ -0,0 +1,28 @@
+/*
+ * S390 version
+ *
+ * Derived from "include/asm-i386/types.h"
+ */
+#ifndef _S390_TYPES_H
+#define _S390_TYPES_H
+
+#include <uapi/asm/types.h>
+
+/*
+ * These aren't exported outside the kernel to avoid name space clashes
+ */
+
+#ifndef __ASSEMBLY__
+
+#ifndef CONFIG_64BIT
+typedef union {
+ unsigned long long pair;
+ struct {
+ unsigned long even;
+ unsigned long odd;
+ } subreg;
+} register_pair;
+
+#endif /* ! CONFIG_64BIT */
+#endif /* __ASSEMBLY__ */
+#endif /* _S390_TYPES_H */