linux-stable-rt/arch/powerpc/platforms/celleb
Ishizaki Kou 8388374f1c [POWERPC] Celleb: bug fix caused by not casting pointer types
This fixes a bug caused by changes of pointer type in
commit f1fda89522.

hose->cfg_addr type is "volatile unsigned int __iomem *", so
"hose->cfg_addr + X" will not make an intended address.

This patch also adds comments for usage of cfg_addr and cfg_data in
pci_controller structure.  We use them in irregular way, and the
original code is short of explanations about them.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-08 04:09:33 +11:00
..
Makefile
beat.c
beat.h
beat_syscall.h
beat_wrapper.h
htab.c
hvCall.S
interrupt.c
interrupt.h
iommu.c
pci.c
pci.h
scc.h
scc_epci.c
scc_sio.c
scc_uhc.c
setup.c
smp.c
spu_priv1.c
udbg_beat.c