powerpc: Make load_hander handle upto 64k offset
authorMichael Neuling <mikey@neuling.org>
Mon, 5 Nov 2012 06:10:35 +0000 (17:10 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 04:08:03 +0000 (15:08 +1100)
commit61e2390ede3cea186cc01f5f3d0c9eb570c42c40
tree503eea0cd552d61e29505bc3442a0d630ba6184f
parentfaab4dd2d281d42cb46b16e36f769be59c0a7338
powerpc: Make load_hander handle upto 64k offset

If we change load_hander() to use an ori instead of addi, we can load handlers
upto 64k away provided we are still 64k aligned.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/setup_64.c