diff -Naurp linux-2.6.13.orig/arch/mips/kernel/setup.c linux-2.6.13/arch/mips/kernel/setup.c --- linux-2.6.13.orig/arch/mips/kernel/setup.c 2005-08-29 22:40:06.000000000 -0400 +++ linux-2.6.13/arch/mips/kernel/setup.c 2005-08-29 22:43:21.000000000 -0400 @@ -43,6 +43,13 @@ #include #include +/* Hack -- Like we care, this will only be here till initramfs + * gets figured out and ramdisk code dropped + */ +#if defined(CONFIG_SGI_IP22) || defined(CONFIG_SGI_IP27) || defined(CONFIG_SGI_IP32) || defined(CONFIG_MIPS_COBALT) +#define kernel_physaddr CPHYSADDR +#endif + struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly; EXPORT_SYMBOL(cpu_data);