Commit 2ccdcfee authored by H. Peter Anvin's avatar H. Peter Anvin

types: s390: fix #ifdef reversal in <asm-s390/types.h>

The #ifdef for the integer types was reversed; the standard pattern in
these files are:

#ifndef __s390x__
/* 32-bit code */
#else
/* 64-bit code */
#endif

Stick with the original pattern, but make sure the 32-bit code
actually comes first!

Reported by Al Viro.
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
parent 492c2e47
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
#define _S390_TYPES_H #define _S390_TYPES_H
#ifndef __s390x__ #ifndef __s390x__
# include <asm-generic/int-l64.h>
#else
# include <asm-generic/int-ll64.h> # include <asm-generic/int-ll64.h>
#else
# include <asm-generic/int-l64.h>
#endif #endif
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment