Re: pmdisk working on ppc (WAS: Help port swsusp to ppc)

From: Benjamin Herrenschmidt
Date: Sat Jan 24 2004 - 18:49:35 EST


On Sun, 2004-01-25 at 03:28, Colin Leroy wrote:
> On 24 Jan 2004 at 13h01, Benjamin Herrenschmidt wrote:
>
> Hi,
>
> > The patch is against my tree currently, and the arch/ppc/kernel/pmdisk.S file
> > is appended as-is (not in patch form).
>
> Didn't you forget to include include/asm-ppc/suspend.h ? ;-)

Yes, but you could have re-created it easily:


static inline int arch_prepare_suspend(void)
{
return 0;
}

static inline void save_processor_state(void)
{
}

static inline void restore_processor_state(void)
{
}



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/