Commit bdf08e1d authored by Michael Ellerman's avatar Michael Ellerman

powerpc/64s: Rename EXCEPTION_PROLOG_PSERIES to EXCEPTION_PROLOG

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 270373f1
...@@ -178,9 +178,9 @@ ...@@ -178,9 +178,9 @@
__EXCEPTION_PROLOG_2_RELON(label, h) __EXCEPTION_PROLOG_2_RELON(label, h)
/* /*
* As EXCEPTION_PROLOG_PSERIES(), except we've already got relocation on * As EXCEPTION_PROLOG(), except we've already got relocation on so no need to
* so no need to rfid. Save lr in case we're CONFIG_RELOCATABLE, in which * rfid. Save LR in case we're CONFIG_RELOCATABLE, in which case
* case EXCEPTION_PROLOG_2_RELON will be using LR. * EXCEPTION_PROLOG_2_RELON will be using LR.
*/ */
#define EXCEPTION_RELON_PROLOG(area, label, h, extra, vec) \ #define EXCEPTION_RELON_PROLOG(area, label, h, extra, vec) \
SET_SCRATCH0(r13); /* save r13 */ \ SET_SCRATCH0(r13); /* save r13 */ \
...@@ -344,7 +344,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943) ...@@ -344,7 +344,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
#define EXCEPTION_PROLOG_2_NORI(label, h) \ #define EXCEPTION_PROLOG_2_NORI(label, h) \
__EXCEPTION_PROLOG_2_NORI(label, h) __EXCEPTION_PROLOG_2_NORI(label, h)
#define EXCEPTION_PROLOG_PSERIES(area, label, h, extra, vec) \ #define EXCEPTION_PROLOG(area, label, h, extra, vec) \
SET_SCRATCH0(r13); /* save r13 */ \ SET_SCRATCH0(r13); /* save r13 */ \
EXCEPTION_PROLOG_0(area); \ EXCEPTION_PROLOG_0(area); \
EXCEPTION_PROLOG_1(area, extra, vec); \ EXCEPTION_PROLOG_1(area, extra, vec); \
...@@ -554,8 +554,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943) ...@@ -554,8 +554,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
* Exception vectors. * Exception vectors.
*/ */
#define STD_EXCEPTION(vec, label) \ #define STD_EXCEPTION(vec, label) \
EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, label, \ EXCEPTION_PROLOG(PACA_EXGEN, label, EXC_STD, KVMTEST_PR, vec);
EXC_STD, KVMTEST_PR, vec); \
/* Version of above for when we have to branch out-of-line */ /* Version of above for when we have to branch out-of-line */
#define __OOL_EXCEPTION(vec, label, hdlr) \ #define __OOL_EXCEPTION(vec, label, hdlr) \
...@@ -568,8 +567,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943) ...@@ -568,8 +567,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
EXCEPTION_PROLOG_2(label, EXC_STD) EXCEPTION_PROLOG_2(label, EXC_STD)
#define STD_EXCEPTION_HV(loc, vec, label) \ #define STD_EXCEPTION_HV(loc, vec, label) \
EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, label, \ EXCEPTION_PROLOG(PACA_EXGEN, label, EXC_HV, KVMTEST_HV, vec);
EXC_HV, KVMTEST_HV, vec);
#define STD_EXCEPTION_HV_OOL(vec, label) \ #define STD_EXCEPTION_HV_OOL(vec, label) \
EXCEPTION_PROLOG_1(PACA_EXGEN, KVMTEST_HV, vec); \ EXCEPTION_PROLOG_1(PACA_EXGEN, KVMTEST_HV, vec); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment