On Sun, 25 Mar 2007 23:19:19 +0100, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote: > --- a/include/asm-mips/stackframe.h > +++ b/include/asm-mips/stackframe.h > @@ -79,7 +79,7 @@ > #else > MFC0 k0, CP0_CONTEXT > #endif > -#if defined(CONFIG_BUILD_ELF64) || (defined(CONFIG_64BIT) && __GNUC__ < 4) > +#if !defined(CONFIG_KERNEL_LOADS_IN_CKSEG0) || (defined(CONFIG_64BIT) && __GNUC__ < 4) > lui k1, %highest(kernelsp) > daddiu k1, %higher(kernelsp) > dsll k1, 16 CONFIG_KERNEL_LOADS_IN_CKSEG0 is not defined on 32-bit kernel. #if defined(CONFIG_64BIT) && (!defined(CONFIG_KERNEL_LOADS_IN_CKSEG0) || __GNUC__ < 4) Perhaps? --- Atsushi Nemoto