]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/powerpc/sysdev/mpic.c
powerpc/mpic: Save computed phys_addr for board-specific code
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Fri, 2 Dec 2011 06:28:01 +0000 (06:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Dec 2011 02:43:07 +0000 (13:43 +1100)
commite7a98675caf272a11dc1012c7a8c6c00cab09f5b
tree856c69993207021ffda5550d3e12d88de7381e15
parent5bdb6f2e5833c1c3e5ea21a2050fe0fada3a4a1d
powerpc/mpic: Save computed phys_addr for board-specific code

The MPIC code can already perform an automatic OF address translation
step as part of mpic_alloc(), but several boards need to use that base
address when they perform mpic_assign_isu().

The easiest solution is to save the computed physical address into the
"struct mpic" for later use by the board code.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mpic.h
arch/powerpc/platforms/embedded6xx/holly.c
arch/powerpc/platforms/embedded6xx/linkstation.c
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
arch/powerpc/platforms/embedded6xx/storcenter.c
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/sysdev/mpic.c