linux/arch/powerpc
Michael Ellerman caf80e579b [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers
htab_bolt_mapping() takes a vstart and pstart parameter, but all but one of
its callers actually pass it vstart and vstart. Luckily before it passes
paddr (calculated from paddr) to the hpte_insert routines it calls
virt_to_abs() (aka. __pa()) on the address, so there isn't actually a bug.

map_io_page() however does pass pstart properly, so currently it's broken
AFAICT because we're calling __pa(paddr) which will get us something very
large. Presumably no one's calling map_io_page() in the right context.

Anyway, change htab_bolt_mapping() callers to properly pass pstart, and then
use it properly in htab_bolt_mapping(), ie. don't call __pa() on it again.

Booted on p5 LPAR, iSeries and Power3.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-22 15:04:09 +11:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
kernel Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
lib [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mm [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers 2006-03-22 15:04:09 +11:00
oprofile [PATCH] powerpc: disable OProfile for iSeries 2006-02-24 11:36:27 +11:00
platforms Merge branch '85xx' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc 2006-03-22 13:46:53 +11:00
sysdev Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00