powerpc/book3e-64: Add helper function to setup IVORs
authorKumar Gala <galak@kernel.crashing.org>
Tue, 18 Aug 2009 19:08:32 +0000 (19:08 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Aug 2009 04:24:13 +0000 (14:24 +1000)
commit4b98d9e713a03bd79ced8800e24a56359f9effbf
tree3c1ca441b80f907241a6dd065feb0879436d40e2
parent6c188829d2c20a1d02aedb13db34b3ca2a8f0dc4
powerpc/book3e-64: Add helper function to setup IVORs

Not all 64-bit Book-3E parts will have fixed IVORs so add a function that
cpusetup code can call to setup the base IVORs (0..15) to match the fixed
offsets.  We need to 'or' part of interrupt_base_book3e into the IVORs
since on parts that have them the IVPR doesn't extend as far down.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64e.h
arch/powerpc/kernel/exceptions-64e.S