[POWERPC] Store the base address in dcr_host_t
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 17 Sep 2007 06:05:00 +0000 (16:05 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 03:25:27 +0000 (13:25 +1000)
commit0b94a1eeeeb3542d046b928ca01fcd4bf0ea7587
tree04ada4951ef2a386d16f00d06bd78a4ce04ff65a
parentca786f83a97d7897b013b1e9b290c9010b69af9b
[POWERPC] Store the base address in dcr_host_t

In its current form, dcr_map() doesn't remember the base address you passed
it, which means you need to store it somewhere else.  Rather than adding the
base to another struct it seems simpler to store it in the dcr_host_t.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/dcr.c
include/asm-powerpc/dcr-mmio.h
include/asm-powerpc/dcr-native.h