mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
c1aa687d49
Since the decrementer and timekeeping code was moved over to using the generic clockevents and timekeeping infrastructure, several variables and functions have been obsolete and effectively unused. This deletes them. In particular, wakeup_decrementer() is no longer needed since the generic code reprograms the decrementer as part of the process of resuming the timekeeping code, which happens during sysdev resume. Thus the wakeup_decrementer calls in the suspend_enter methods for 52xx platforms have been removed. The call in the powermac cpu frequency change code has been replaced by set_dec(1), which will cause a timer interrupt as soon as interrupts are enabled, and the generic code will then reprogram the decrementer with the correct value. This also simplifies the generic_suspend_en/disable_irqs functions and makes them static since they are not referenced outside time.c. The preempt_enable/disable calls are removed because the generic code has disabled all but the boot cpu at the point where these functions are called, so we can't be moved to another cpu. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
efika.c | ||
Kconfig | ||
lite5200_pm.c | ||
lite5200_sleep.S | ||
lite5200.c | ||
Makefile | ||
media5200.c | ||
mpc52xx_common.c | ||
mpc52xx_gpio.c | ||
mpc52xx_gpt.c | ||
mpc52xx_lpbfifo.c | ||
mpc52xx_pci.c | ||
mpc52xx_pic.c | ||
mpc52xx_pm.c | ||
mpc52xx_sleep.S | ||
mpc5200_simple.c |