Author: uwe Date: 2008-05-11 18:13:24 +0200 (Sun, 11 May 2008) New Revision: 3298
Modified: trunk/payloads/libpayload/i386/sysinfo.c Log: Fix the build when serial console support is disabled (trivial).
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/payloads/libpayload/i386/sysinfo.c =================================================================== --- trunk/payloads/libpayload/i386/sysinfo.c 2008-05-11 15:51:31 UTC (rev 3297) +++ trunk/payloads/libpayload/i386/sysinfo.c 2008-05-11 16:13:24 UTC (rev 3298) @@ -35,7 +35,11 @@ */ struct sysinfo_t lib_sysinfo = { .cpu_khz = 200, +#ifdef CONFIG_SERIAL_CONSOLE .ser_ioport = CONFIG_SERIAL_IOBASE, +#else + .ser_ioport = 0x3f8, +#endif };
void lib_get_sysinfo(void)