powerpc: remove dead CONFIG_HVC_SCOM code
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 25 Mar 2013 00:32:11 +0000 (00:32 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 03:03:52 +0000 (13:03 +1000)
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>
arch/powerpc/kernel/exceptions-64s.S

index 56bd92362ce131e8742f33d56ff8613e05bcced0..e789ee7acbafbfff17b776b4724babc8ca5614bf 100644 (file)
@@ -870,10 +870,6 @@ tm_unavailable_relon_pSeries_1:
        . = 0x5500
        b       denorm_exception_hv
 #endif
-#ifdef CONFIG_HVC_SCOM
-       STD_RELON_EXCEPTION_HV(0x5600, 0x1600, maintence_interrupt)
-       KVM_HANDLER_SKIP(PACA_EXGEN, EXC_HV, 0x1600)
-#endif /* CONFIG_HVC_SCOM */
        STD_RELON_EXCEPTION_PSERIES(0x5700, 0x1700, altivec_assist)
 
        /* Other future vectors */