[PATCH] ppc64: Fix wrong register mapping in mpic driver
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 26 Oct 2005 08:59:00 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Oct 2005 17:39:43 +0000 (10:39 -0700)
commit958d24df82e021704437da0789c47fcf581e4b85
tree33b544fb4d5282123ec38705160d7a316e005b55
parent1c6fe9465941df04a1ad8f009bd6d95b20072a58
[PATCH] ppc64: Fix wrong register mapping in mpic driver

The mpic interrupt controller driver (used on G5 and early pSeries among
others) has a bug where it doesn't get the right virtual address for the
timer registers.  It causes the driver to poke at the MMIO space of
whatever has been mapped just next to it (ouch !) when initializing and
causes boot failures on some IBM machines.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/mpic.c