]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Move bad_stack() below the fwnmi_data_area
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jul 2014 10:25:02 +0000 (20:25 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:11:22 +0000 (14:11 +1000)
commitaeaa690c9fbc09c6307c10f866b615fbec653f3e
treef90ed0b0aa453730220c0048e717a355c8de7720
parenta25330ca4c5ef1fa0fd1db9868b63e8d0fecfdd3
powerpc: Move bad_stack() below the fwnmi_data_area

At the moment the allmodconfig build is failing because we run out of
space between altivec_assist() at 0x5700 and the fwnmi_data_area at
0x7000.

Fixing it permanently will take some more work, but a quick fix is to
move bad_stack() below the fwnmi_data_area. That gives us just enough
room with everything enabled.

bad_stack() is called from the common exception handlers, but it's a
non-conditional branch, so we have plenty of scope to move it further
way.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64s.S