On Mon, 2008-11-03 at 09:20 +0100, Geert Uytterhoeven wrote: > On Sun, 2 Nov 2008, Alexey Dobriyan wrote: > > arch/powerpc/platforms/cell/ras.c:299: error: implicit declaration of > > function 'crash_shutdown_register' > > > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> > > --- > > > > arch/powerpc/platforms/cell/ras.c | 1 + > > 1 file changed, 1 insertion(+) > > > > --- a/arch/powerpc/platforms/cell/ras.c > > +++ b/arch/powerpc/platforms/cell/ras.c > > @@ -16,6 +16,7 @@ > > #include <linux/kexec.h> > > #include <linux/crash_dump.h> > > > > +#include <asm/kexec.h> > > #include <linux/kexec.h>?
That struck me too. But the generic header only includes the arch one if CONFIG_KEXEC=y, and this code needs things from asm/kexec.h even when it =n. So I think this is the best fix. cheers -- Michael Ellerman OzLabs, IBM Australia Development Lab wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev