Re: swsusp_restore crap

From: Benjamin Herrenschmidt
Date: Tue Mar 15 2005 - 08:35:12 EST



>
> > +asmlinkage int __swsusp_flush_tlb(void)
> > +{
> > + swsusp_restore_check();
>
> Someone will certainly forget this one, and it is probably
> nicer/easier to just move BUG_ON into swsusp_suspend(), just after
> restore_processor_state() or something like that...

Agreed.

Ben.

-
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/