Skip to content

Commit

Permalink
types: s390: fix #ifdef reversal in <asm-s390/types.h>
Browse files Browse the repository at this point in the history
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: H. 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>
  • Loading branch information
H. Peter Anvin committed May 12, 2008
1 parent 492c2e4 commit 2ccdcfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-s390/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#define _S390_TYPES_H

#ifndef __s390x__
# include <asm-generic/int-l64.h>
#else
# include <asm-generic/int-ll64.h>
#else
# include <asm-generic/int-l64.h>
#endif

#ifndef __ASSEMBLY__
Expand Down

0 comments on commit 2ccdcfe

Please sign in to comment.