Subject: Re: [PATCH] [5/9] pasemi: Implement restart

From: [email-masked] (Olof Johansson)
Date: Fri, 2 Feb 2007 12:46:45 -0600

On Fri, Feb 02, 2007 at 12:07:42AM -0600, Kumar Gala wrote:
> >-	pas_power_off();
> >+	void __iomem *sdcreg;
> >+	printk("Restarting...\n");
> >+	/* XXXOJN This should maybe come out of the device tree */
> >+	sdcreg = ioremap(0xfc101100, 4);
> 
> You can't do the ioremap here,  restart may get call an oops from  
> interrupt context.

Oh, that's right. Will do it in setup instead.

Thanks,

-Olof