klibc doesn't currently build on s390 since commit 1e8e338325fa0f2bd5c1c800086e900cf188d2cd belows patch adds some kernel ifdef for the newly added section. Signed-off-by: maximilian attems <maks@sternwelten.at> --- linux-2.6.15/include/asm-s390/setup.h.orig 2006-02-01 11:27:00.000000000 +0100 +++ linux-2.6.15/include/asm-s390/setup.h 2006-02-01 11:31:54.000000000 +0100 @@ -67,6 +67,8 @@ #define SET_CONSOLE_3215 do { console_mode = 2; } while (0) #define SET_CONSOLE_3270 do { console_mode = 3; } while (0) +#ifdef __KERNEL__ + struct ipl_list_header { u32 length; u8 reserved[3]; @@ -114,6 +116,8 @@ IPL_PARMBLOCK_ORIGIN) #define IPL_PARMBLOCK_SIZE (IPL_PARMBLOCK_START->hdr.length) +#endif /* __KERNEL__ */ + #else #ifndef __s390x__
Greg KH
2006-Feb-09 21:00 UTC
[klibc] Re: [stable] [patch] s390 klibc build fix for 2.6.15
On Wed, Feb 01, 2006 at 11:41:10AM +0100, maximilian attems wrote:> klibc doesn't currently build on s390 since > commit 1e8e338325fa0f2bd5c1c800086e900cf188d2cd > > belows patch adds some kernel ifdef for the newly added section.queued to -stable, thanks. greg k-h