powerpc/64s: Drop _MASKABLE_RELON_EXCEPTION_PSERIES()
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Jul 2018 13:07:14 +0000 (23:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 11:49:37 +0000 (21:49 +1000)
_MASKABLE_RELON_EXCEPTION_PSERIES() does nothing useful, update all
callers to use __MASKABLE_RELON_EXCEPTION_PSERIES() directly.

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

index ae048ff7a9cddbe0543f73b6c717a71f64d191c2..52185dbede9a84e282be6e279e144127d177851d 100644 (file)
@@ -651,20 +651,17 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
        MASKABLE_EXCEPTION_PROLOG_1(PACA_EXGEN, extra, vec, bitmask);   \
        EXCEPTION_PROLOG_2_RELON(label, h)
 
-#define _MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, h, extra, bitmask)\
-       __MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, h, extra, bitmask)
-
 #define MASKABLE_RELON_EXCEPTION_PSERIES(loc, vec, label, bitmask)     \
-       _MASKABLE_RELON_EXCEPTION_PSERIES(vec, label,                   \
-                                         EXC_STD, SOFTEN_NOTEST_PR, bitmask)
+       __MASKABLE_RELON_EXCEPTION_PSERIES(vec, label,                  \
+                                          EXC_STD, SOFTEN_NOTEST_PR, bitmask)
 
 #define MASKABLE_RELON_EXCEPTION_PSERIES_OOL(vec, label, bitmask)      \
        MASKABLE_EXCEPTION_PROLOG_1(PACA_EXGEN, SOFTEN_NOTEST_PR, vec, bitmask);\
        EXCEPTION_PROLOG_2(label, EXC_STD);
 
 #define MASKABLE_RELON_EXCEPTION_HV(loc, vec, label, bitmask)          \
-       _MASKABLE_RELON_EXCEPTION_PSERIES(vec, label,                   \
-                                         EXC_HV, SOFTEN_TEST_HV, bitmask)
+       __MASKABLE_RELON_EXCEPTION_PSERIES(vec, label,                  \
+                                          EXC_HV, SOFTEN_TEST_HV, bitmask)
 
 #define MASKABLE_RELON_EXCEPTION_HV_OOL(vec, label, bitmask)           \
        MASKABLE_EXCEPTION_PROLOG_1(PACA_EXGEN, SOFTEN_TEST_HV, vec, bitmask);\
index f0dc3460d9ec1de9567aff998c699d3437f16dbb..d370d200550675a137ce65150646e54f33660e7c 100644 (file)
@@ -782,11 +782,11 @@ EXC_VIRT_BEGIN(hardware_interrupt, 0x4500, 0x100)
        .globl hardware_interrupt_relon_hv;
 hardware_interrupt_relon_hv:
        BEGIN_FTR_SECTION
-               _MASKABLE_RELON_EXCEPTION_PSERIES(0x500, hardware_interrupt_common,
+               __MASKABLE_RELON_EXCEPTION_PSERIES(0x500, hardware_interrupt_common,
                                                  EXC_HV, SOFTEN_TEST_HV,
                                                  IRQS_DISABLED)
        FTR_SECTION_ELSE
-               _MASKABLE_RELON_EXCEPTION_PSERIES(0x500, hardware_interrupt_common,
+               __MASKABLE_RELON_EXCEPTION_PSERIES(0x500, hardware_interrupt_common,
                                                  EXC_STD, SOFTEN_TEST_PR,
                                                  IRQS_DISABLED)
        ALT_FTR_SECTION_END_IFSET(CPU_FTR_HVMODE)