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

Scott Wood scottwood at freescale.com
Sat Mar 3 05:57:02 EST 2007


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.

-Scott



More information about the Linuxppc-embedded mailing list