]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Fix mce accounting for powernv
authorNicholas Piggin <npiggin@gmail.com>
Tue, 1 Aug 2017 12:00:51 +0000 (22:00 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Aug 2017 12:30:00 +0000 (22:30 +1000)
commitbbbfb88d479925bfba5a51a545bfffef918be9d8
treeef5f8e70c9da4c515441726464ced6aef3354ae2
parentc30abf7414990af67f5cf34b8d466e88eba3120c
powerpc/64s: Fix mce accounting for powernv

On 64-bit Book3s, when we're in HV mode, we have already counted the
machine check exception in machine_check_early().

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Use IS_ENABLED() rather than an #ifdef]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c