OSDN Git Service

powerpc: Fix hypervisor facility unavaliable vector number
authorMichael Neuling <mikey@neuling.org>
Fri, 9 Aug 2013 07:29:27 +0000 (17:29 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:04 +0000 (22:59 -0700)
commit7ab7de87432c7d6544b8c1b45ba6520f4115539f
treedf460c6bd1805863c68a18878b16777f768fa3e9
parent70aabee48d28ead09817660d35d9f53a13b99eda
powerpc: Fix hypervisor facility unavaliable vector number

commit 88f094120bd2f012ff494ae50a8d4e0d8af8f69e upstream.

Currently if we take hypervisor facility unavaliable (from 0xf80/0x4f80) we
mark it as an OS facility unavaliable (0xf60) as the two share the same code
path.

The becomes a problem in facility_unavailable_exception() as we aren't able to
see the hypervisor facility unavailable exceptions.

Below fixes this by duplication the required macros.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/exceptions-64s.S