ppc32: Compilation fixes for Ebony, Luan and Ocotea
PATCH 3/5 ppc32: Compilation fixes for Ebony, Luan and Ocotea
From: Matt Porter <[email protected]>
this patch fixes the problem, that the current kernel (linux-2.6.11-rc5) could not be compiled, when "support for early boot texts over serial port" (CONFIG_SERIAL_TEXT_DEBUG=y) is active.
Signed-off-by Gerhard Jaeger <[email protected]>
Signed-off-by Matt Porter <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
25-akpm/arch/ppc/platforms/4xx/ebony.h | 4 ++-- 25-akpm/arch/ppc/platforms/4xx/luan.h | 6 +++--- 25-akpm/arch/ppc/platforms/4xx/ocotea.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-)
arch/ppc/platforms/4xx/ebony.h renamed from arch/ppc/platforms/4xx/ebony.h~ppc32-compilation-fixes-for-ebony-luan-and-ocotea +2 -2
@@ -61,8 +61,8 @@*/ /* OpenBIOS defined UART mappings, used before early_serial_setup */ -#define UART0_IO_BASE (u8 *) 0xE0000200 -#define UART1_IO_BASE (u8 *) 0xE0000300 +#define UART0_IO_BASE 0xE0000200 +#define UART1_IO_BASE 0xE0000300/* external Epson SG-615P */ #define BASE_BAUD 691200
arch/ppc/platforms/4xx/luan.h renamed from arch/ppc/platforms/4xx/luan.h~ppc32-compilation-fixes-for-ebony-luan-and-ocotea +3 -3
@@ -47,9 +47,9 @@#define RS_TABLE_SIZE 3/* PIBS defined UART mappings, used before early_serial_setup */ -#define UART0_IO_BASE (u8 *) 0xa0000200 -#define UART1_IO_BASE (u8 *) 0xa0000300 -#define UART2_IO_BASE (u8 *) 0xa0000600 +#define UART0_IO_BASE 0xa0000200 +#define UART1_IO_BASE 0xa0000300 +#define UART2_IO_BASE 0xa0000600#define BASE_BAUD 11059200#define STD_UART_OP (num) \
arch/ppc/platforms/4xx/ocotea.h renamed from arch/ppc/platforms/4xx/ocotea.h~ppc32-compilation-fixes-for-ebony-luan-and-ocotea +2 -2
@@ -56,8 +56,8 @@#define RS_TABLE_SIZE 2/* OpenBIOS defined UART mappings, used before early_serial_setup */ -#define UART0_IO_BASE (u8 *) 0xE0000200 -#define UART1_IO_BASE (u8 *) 0xE0000300 +#define UART0_IO_BASE 0xE0000200 +#define UART1_IO_BASE 0xE0000300#define BASE_BAUD 11059200/16#define STD_UART_OP (num) \
_
Quoted 10 lines · On Fri, Mar 04, 2005 at 01:16:56PM -0800, [email protected] wrote:
From: Matt Porter <[email protected]>
this patch fixes the problem, that the current kernel (linux-2.6.11-rc5) could not be compiled, when "support for early boot texts over serial port" (
CONFIG_SERIAL_TEXT_DEBUG=y) is active.Signed-off-by Gerhard Jaeger <[email protected]>Signed-off-by Matt Porter <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Added to the -stable queue, thanks.
greg k-h