linux/arch/powerpc/platforms/52xx
Paul Mackerras c1aa687d49 powerpc: Clean up obsolete code relating to decrementer and timebase
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>
2010-07-09 11:26:16 +10:00
..
efika.c kbuild: move utsrelease.h to include/generated 2009-12-12 13:08:15 +01:00
Kconfig powerpc/5200: add LocalPlus bus FIFO device driver 2009-11-04 16:42:47 -07:00
lite5200_pm.c powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
lite5200.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
Makefile powerpc/5200: add LocalPlus bus FIFO device driver 2009-11-04 16:42:47 -07:00
media5200.c genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
mpc52xx_common.c powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function 2009-06-17 00:30:22 -06:00
mpc52xx_gpio.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
mpc52xx_gpt.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
mpc52xx_lpbfifo.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
mpc52xx_pci.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mpc52xx_pic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
mpc52xx_pm.c powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
mpc52xx_sleep.S [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
mpc5200_simple.c mpc5200: support for the MAN mpc5200 based board mucmc52 2009-10-15 09:33:24 -06:00