1
linux/arch/arm/mach-ixp4xx/include/mach
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
..
avila.h
coyote.h
cpu.h IXP42x: Identify Intel IXP425 rev. A0 processors. 2009-05-23 23:16:21 +02:00
debug-macro.S
dsmg600.h
entry-macro.S
fsg.h
gpio.h [ARM] gpio_free might sleep, arm architecture 2008-10-30 14:41:50 +00:00
gtwx5715.h
hardware.h
io.h IXP4xx: Fix IO_SPACE_LIMIT for 2.6.31-rc core PCI changes 2009-08-11 19:22:20 +02:00
irqs.h
ixdp425.h
ixp4xx-regs.h IXP4xx: cpu_is_ixp4*() now recognizes all IXP4xx processors. 2009-03-17 15:01:45 +01:00
memory.h [ARM] move MAX_DMA_ADDRESS to mach/memory.h 2008-11-29 10:50:22 +00:00
nas100d.h
npe.h
nslu2.h
platform.h
prpmc1100.h
qmgr.h IXP4xx: Change QMgr function names to qmgr_stat_*_watermark and clean the comments. 2009-05-25 13:25:34 +02:00
system.h ixp4xx: arch_idle() documentation fixup 2009-09-21 19:20:03 +02:00
timex.h
udc.h
uncompress.h
vmalloc.h