]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbffb5e741078ee2102b28c48d524ba6574529549
tree04ada4951ef2a386d16f00d06bd78a4ce04ff65a
parent71e950add2849c47a0bb2c7900407b72cc189ed1
[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