[PATCH] s390: add #ifdef __KERNEL__ to asm-s390/setup.h

Based on a patch from Maximilian Attems <maks@sternwelten.at> . Nothing in
asm-s390/setup.h is of interest for user space.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Heiko Carstens and committed by Linus Torvalds 0defa3c1 e7684277

+6 -4
+6 -4
include/asm-s390/setup.h
··· 8 #ifndef _ASM_S390_SETUP_H 9 #define _ASM_S390_SETUP_H 10 11 #include <asm/types.h> 12 13 #define PARMAREA 0x10400 ··· 116 IPL_PARMBLOCK_ORIGIN) 117 #define IPL_PARMBLOCK_SIZE (IPL_PARMBLOCK_START->hdr.length) 118 119 - #else 120 121 #ifndef __s390x__ 122 #define IPL_DEVICE 0x10404 ··· 129 #endif /* __s390x__ */ 130 #define COMMAND_LINE 0x10480 131 132 - #endif 133 - 134 - #endif
··· 8 #ifndef _ASM_S390_SETUP_H 9 #define _ASM_S390_SETUP_H 10 11 + #ifdef __KERNEL__ 12 + 13 #include <asm/types.h> 14 15 #define PARMAREA 0x10400 ··· 114 IPL_PARMBLOCK_ORIGIN) 115 #define IPL_PARMBLOCK_SIZE (IPL_PARMBLOCK_START->hdr.length) 116 117 + #else /* __ASSEMBLY__ */ 118 119 #ifndef __s390x__ 120 #define IPL_DEVICE 0x10404 ··· 127 #endif /* __s390x__ */ 128 #define COMMAND_LINE 0x10480 129 130 + #endif /* __ASSEMBLY__ */ 131 + #endif /* __KERNEL__ */ 132 + #endif /* _ASM_S390_SETUP_H */