Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: remove dead CONFIG_HVC_SCOM code

Commit c1fb6816fb1b78dd94b673b0fdaa9a7a16e97bd1 ("powerpc: Add
relocation on exception vector handlers") added two lines of code that
depend on the macro CONFIG_HVC_SCOM. That macro doesn't exist. Perhaps
it was intended to use CONFIG_PPC_SCOM here. But since
"maintence_interrupt" is a typo and there's nothing in arch/powerpc that
looks like maintenance_interrupt it seems best to just delete these
lines.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>

authored by

Paul Bolle and committed by
Michael Ellerman
9850baed 7d5480fe

-4
-4
arch/powerpc/kernel/exceptions-64s.S
··· 870 870 . = 0x5500 871 871 b denorm_exception_hv 872 872 #endif 873 - #ifdef CONFIG_HVC_SCOM 874 - STD_RELON_EXCEPTION_HV(0x5600, 0x1600, maintence_interrupt) 875 - KVM_HANDLER_SKIP(PACA_EXGEN, EXC_HV, 0x1600) 876 - #endif /* CONFIG_HVC_SCOM */ 877 873 STD_RELON_EXCEPTION_PSERIES(0x5700, 0x1700, altivec_assist) 878 874 879 875 /* Other future vectors */