Re: [PATCH v4] pm_ops: add system quiesce/activate hooks

Paul Mackerras
2007-04-17T04:58:29Z

Johannes Berg writes:

> No, it's two, for enabling as well.

I'm not sure we actually need a special enable hook. I assume we have
a sysdev for the timekeeping stuff, whose resume function gets called
before interrupts are enabled. That can set the decrementer to a
suitable value. If we get an extra decrementer interrupt when
interrupts are enabled with local_irq_enable, it doesn't matter.

Paul.