linux/arch/powerpc/platforms
Paul Mackerras d75d68cfef 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-28 21:07:12 +02:00
..
8xx include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
40x powerpc/40x: Add support for the ESTeem 195E (PPC405EP) SBC 2009-08-31 09:15:51 -04:00
44x powerpc/44x: Add basic ICON PPC440SPe board support 2010-05-12 07:50:53 -04:00
52xx powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-28 21:07:12 +02:00
82xx of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
83xx Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
85xx lmb: rename to memblock 2010-07-14 17:14:00 +10:00
86xx lmb: rename to memblock 2010-07-14 17:14:00 +10:00
512x powerpc/mpc5121: move PSC FIFO memory init to platform code 2010-05-25 00:23:16 -06:00
amigaone kbuild: move utsrelease.h to include/generated 2009-12-12 13:08:15 +01:00
cell lmb: rename to memblock 2010-07-14 17:14:00 +10:00
chrp include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
embedded6xx lmb: rename to memblock 2010-07-14 17:14:00 +10:00
iseries powerpc/iseries: Fix possible null pointer dereference in iSeries_pcibios_fixup_resources 2010-07-08 18:11:43 +10:00
maple lmb: rename to memblock 2010-07-14 17:14:00 +10:00
pasemi lmb: rename to memblock 2010-07-14 17:14:00 +10:00
powermac powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-28 21:07:12 +02:00
prep
ps3 lmb: rename to memblock 2010-07-14 17:14:00 +10:00
pseries powerpc: Fix erroneous lmb->memblock conversions 2010-07-23 12:56:57 +10:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
Kconfig.cputype powerpc/47x: Base ppc476 support 2010-05-05 09:11:10 -04:00
Makefile powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00