[PATCH 7/7] lite5200b suspend: low-power mode

Domen Puncer domen.puncer at telargo.com
Sat Mar 3 18:15:46 EST 2007


On 02/03/07 12:57 -0600, Scott Wood wrote:
> On Thu, Mar 01, 2007 at 09:00:08AM +0100, Domen Puncer wrote:
> > +static int lite5200_pm_enter(suspend_state_t state)
> > +{
> [snip]
> > +	mbar = ioremap_nocache(0xf0000000, 0x8000);
> 
> You can't do ioremap with interrupts disabled (it will fail with spinlock
> debugging enabled); the mapping should be set up at boot time.

>From what I see, it could also be set up in prepare(), no?
I'll try that with spinlock debugging on monday.

Thanks!


	Domen
> 
> -Scott



More information about the Linuxppc-embedded mailing list