[PATCH 1/3] Implement arch disable/enable irq hooks.

Johannes Berg johannes at sipsolutions.net
Wed Sep 12 18:23:21 EST 2007


On Wed, 2007-09-12 at 07:16 +1000, Paul Mackerras wrote:

> > +/* Overrides the weak version in kernel/power/main.c */
> > +void arch_suspend_disable_irqs(void)
> > +{
> > +	if (ppc_md.suspend_disable_irqs)
> > +		ppc_md.suspend_disable_irqs();
> > +	else
> > +		generic_suspend_disable_irqs();
> 
> Any particular reason why we need a ppc_md hook here?  Do we expect
> some platform to need to do something different?

Yes, we need to hook into these for the PMU and platform functions on
powermac. Once I get to convert that to the generic infrastructure...

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070912/70f2c05b/attachment.pgp>


More information about the Linuxppc-dev mailing list