powerpc: Rename and flesh out the facility unavailable exception handler
authorMichael Ellerman <michaele@au1.ibm.com>
Tue, 25 Jun 2013 07:47:56 +0000 (17:47 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:49:44 +0000 (11:49 +1000)
commit021424a1fce335e05807fd770eb8e1da30a63eea
treeb09cf27e481ba34cf6e390017014927d60301a36
parentc9f69518e5f08170bc857984a077f693d63171df
powerpc: Rename and flesh out the facility unavailable exception handler

The exception at 0xf60 is not the TM (Transactional Memory) unavailable
exception, it is the "Facility Unavailable Exception", rename it as
such.

Flesh out the handler to acknowledge the fact that it can be called for
many reasons, one of which is TM being unavailable.

Use STD_EXCEPTION_COMMON() for the exception body, for some reason we
had it open-coded, I've checked the generated code is identical.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
CC: <stable@vger.kernel.org> [v3.10]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/traps.c