powerpc/64s/exception: consolidate EXCEPTION_PROLOG_2 with _NORI variant
authorNicholas Piggin <npiggin@gmail.com>
Sat, 22 Jun 2019 13:15:12 +0000 (23:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jul 2019 10:24:41 +0000 (20:24 +1000)
commitbd7b6d1334c5fd92c1e1a9c8179154e115f427b0
treed400dd1bd1f5fd32482ace62d891fa531b9437e4
parent4508a74a63154fea5c2d36d8ad064273c5ea9608
powerpc/64s/exception: consolidate EXCEPTION_PROLOG_2 with _NORI variant

Switch to a gas macro that conditionally expands the RI clearing
instruction.

No generated code change.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S