OSDN Git Service

powerpc/64s: Rename STD_EXCEPTION_PSERIES to STD_EXCEPTION
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Jul 2018 13:07:04 +0000 (23:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 11:49:33 +0000 (21:49 +1000)
The "PSERIES" in STD_EXCEPTION_PSERIES is to differentiate the macros
from the legacy iSeries versions, which are called
STD_EXCEPTION_ISERIES. It is not anything to do with pseries vs
powernv or powermac etc.

We removed the legacy iSeries code in 2012, in commit 8ee3e0d69623x
("powerpc: Remove the main legacy iSerie platform code").

So remove "PSERIES" from the macros.

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

index 138ea97..3ff8473 100644 (file)
@@ -553,7 +553,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
 /*
  * Exception vectors.
  */
-#define STD_EXCEPTION_PSERIES(vec, label)                      \
+#define STD_EXCEPTION(vec, label)                              \
        EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, label,             \
                                 EXC_STD, KVMTEST_PR, vec);     \
 
index 7e0e93f..66ea28d 100644 (file)
@@ -260,7 +260,7 @@ name:
 
 #define EXC_REAL(name, start, size)                                    \
        EXC_REAL_BEGIN(name, start, size);                              \
-       STD_EXCEPTION_PSERIES(start, name##_common);                    \
+       STD_EXCEPTION(start, name##_common);                            \
        EXC_REAL_END(name, start, size);
 
 #define EXC_VIRT(name, start, size, realvec)                           \