dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/arm/mach-ixp4xx
Mikael Pettersson 74c32e7234 ixp4xx: arch_idle() documentation fixup
The body of the mach-ixp4xx arch_idle() is mysteriously
disabled by an #if 0 .. #endif. Normally one would expect
to find a call to cpu_do_idle() there, but that call is
disabled, even though cpu_do_idle() is implemented for
XScale cores (and ixp4xx is one).

The explanation can be found in the ixp42x developer's manual
which states that the XScale core clock and power management
registers aren't implemented on ixp42x [3.5.2.2].

Also, the disabled code has suffered from bit rot:
- it checks hlt_counter which is obsolete, as that variable
  and all related code now is private to kernel/process.c
- it passes too many parameters to cpu_do_idle()

So this patch:
- adds a comment before the #if 0 to explain why
  cpu_do_idle() mustn't be called on ixp4xx
- removes the obsolete test of hlt_counter and the
  obsolete parameter to cpu_do_idle()

This is purely a documentation fixup and changes no
generated code. Even so, it has been tested on an
ixp420 machine (ds101).

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
2009-09-21 19:20:03 +02:00
..
include/mach ixp4xx: arch_idle() documentation fixup 2009-09-21 19:20:03 +02:00
Kconfig IXP4xx: support for Goramo MultiLink router platform. 2009-05-23 23:58:30 +02:00
Makefile IXP4xx: support for Goramo MultiLink router platform. 2009-05-23 23:58:30 +02:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
avila-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
avila-setup.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
common-pci.c IXP4xx: PCI ixp4xx_scan_bus() is __devinit. 2009-03-17 15:01:53 +01:00
common.c ixp4xx: timer and clocks cleanups 2009-09-21 19:20:03 +02:00
coyote-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
coyote-setup.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
dsmg600-pci.c [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
dsmg600-setup.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00
fsg-pci.c [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
fsg-setup.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
gateway7001-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
gateway7001-setup.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
goramo_mlr.c IXP4xx: support for Goramo MultiLink router platform. 2009-05-23 23:58:30 +02:00
gtwx5715-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
gtwx5715-setup.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ixdp425-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ixdp425-setup.c [ARM] Convert asm/delay.h to linux/delay.h 2008-09-06 12:11:37 +01:00
ixdpg425-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ixp4xx_npe.c IXP42x: add NPE support for IXP425 rev. A0 processors. 2009-05-23 23:16:23 +02:00
ixp4xx_qmgr.c IXP42x: Use __fls() in QMgr interrupt handlers. 2009-05-23 23:37:04 +02:00
nas100d-pci.c [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
nas100d-setup.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
nslu2-pci.c [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
nslu2-setup.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
wg302v2-pci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
wg302v2-setup.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00