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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 21:07:21 +0000 (14:07 -0700)
commit8e0af91a12c135f6c22e472660f3400d46ed78ac
treedc5fa78f6962adcc8cf6420c6674951656356c35
parent77d8caacd2924ca7cbb989c30709503e93c7f026
powerpc: Rename and flesh out the facility unavailable exception handler

commit 021424a1fce335e05807fd770eb8e1da30a63eea upstream.

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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/traps.c