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)
commit4e2bf01b21054b9300d2e108f5b8b5e4b803b8b8
treef90ed0b0aa453730220c0048e717a355c8de7720
parent1e07a0a0336b6349b72127b7280995301f18dba3
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