OSDN Git Service

powerpc: Remove useless EXC_COMMON_HV
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 12 Jan 2018 02:28:48 +0000 (13:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 12:51:42 +0000 (23:51 +1100)
commit872e2ae4bdd4c244f7617ffc08c39462192460ee
treeb94e6dfe293e61df0a3d24157a710401a6229558
parentf5abe14f88e8259494d69614768789a67475b1ad
powerpc: Remove useless EXC_COMMON_HV

The only difference between EXC_COMMON_HV and EXC_COMMON is that the
former adds "2" to the trap number which is supposed to represent the
fact that this is an "HV" interrupt which uses HSRR0/1.

However KVM is the only one who cares and it has its own separate macros.

In fact, we only have one user of EXC_COMMON_HV and it's for an
unknown interrupt case. All the other ones already using EXC_COMMON.

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