aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-08-21 23:49:41 -0400
committerPaul Mackerras <paulus@samba.org>2007-08-22 02:48:36 -0400
commit5b072ba453078293b8f6de8cdd79d9c26f015238 (patch)
tree8ad35dc763c8f234afbc2395e5f5099049fb8faf /arch
parent7180e3e636deff82f8810291878a184f21142fa9 (diff)
[POWERPC] Exception numbers are not relevant to iSeries
so remove them from the macros. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/iseries/exception.S24
-rw-r--r--arch/powerpc/platforms/iseries/exception.h4
2 files changed, 14 insertions, 14 deletions
diff --git a/arch/powerpc/platforms/iseries/exception.S b/arch/powerpc/platforms/iseries/exception.S
index e9a3435b3c18..5381038f0881 100644
--- a/arch/powerpc/platforms/iseries/exception.S
+++ b/arch/powerpc/platforms/iseries/exception.S
@@ -88,7 +88,7 @@ iSeries_secondary_smp_loop:
88 88
89/*** ISeries-LPAR interrupt handlers ***/ 89/*** ISeries-LPAR interrupt handlers ***/
90 90
91 STD_EXCEPTION_ISERIES(0x200, machine_check, PACA_EXMC) 91 STD_EXCEPTION_ISERIES(machine_check, PACA_EXMC)
92 92
93 .globl data_access_iSeries 93 .globl data_access_iSeries
94data_access_iSeries: 94data_access_iSeries:
@@ -137,7 +137,7 @@ data_access_slb_iSeries:
137 ld r12,LPPACASRR1(r12) 137 ld r12,LPPACASRR1(r12)
138 b .slb_miss_realmode 138 b .slb_miss_realmode
139 139
140 STD_EXCEPTION_ISERIES(0x400, instruction_access, PACA_EXGEN) 140 STD_EXCEPTION_ISERIES(instruction_access, PACA_EXGEN)
141 141
142 .globl instruction_access_slb_iSeries 142 .globl instruction_access_slb_iSeries
143instruction_access_slb_iSeries: 143instruction_access_slb_iSeries:
@@ -176,13 +176,13 @@ slb_miss_user_iseries:
176 b slb_miss_user_common 176 b slb_miss_user_common
177#endif 177#endif
178 178
179 MASKABLE_EXCEPTION_ISERIES(0x500, hardware_interrupt) 179 MASKABLE_EXCEPTION_ISERIES(hardware_interrupt)
180 STD_EXCEPTION_ISERIES(0x600, alignment, PACA_EXGEN) 180 STD_EXCEPTION_ISERIES(alignment, PACA_EXGEN)
181 STD_EXCEPTION_ISERIES(0x700, program_check, PACA_EXGEN) 181 STD_EXCEPTION_ISERIES(program_check, PACA_EXGEN)
182 STD_EXCEPTION_ISERIES(0x800, fp_unavailable, PACA_EXGEN) 182 STD_EXCEPTION_ISERIES(fp_unavailable, PACA_EXGEN)
183 MASKABLE_EXCEPTION_ISERIES(0x900, decrementer) 183 MASKABLE_EXCEPTION_ISERIES(decrementer)
184 STD_EXCEPTION_ISERIES(0xa00, trap_0a, PACA_EXGEN) 184 STD_EXCEPTION_ISERIES(trap_0a, PACA_EXGEN)
185 STD_EXCEPTION_ISERIES(0xb00, trap_0b, PACA_EXGEN) 185 STD_EXCEPTION_ISERIES(trap_0b, PACA_EXGEN)
186 186
187 .globl system_call_iSeries 187 .globl system_call_iSeries
188system_call_iSeries: 188system_call_iSeries:
@@ -191,9 +191,9 @@ system_call_iSeries:
191 EXCEPTION_PROLOG_ISERIES_1 191 EXCEPTION_PROLOG_ISERIES_1
192 b system_call_common 192 b system_call_common
193 193
194 STD_EXCEPTION_ISERIES( 0xd00, single_step, PACA_EXGEN) 194 STD_EXCEPTION_ISERIES(single_step, PACA_EXGEN)
195 STD_EXCEPTION_ISERIES( 0xe00, trap_0e, PACA_EXGEN) 195 STD_EXCEPTION_ISERIES(trap_0e, PACA_EXGEN)
196 STD_EXCEPTION_ISERIES( 0xf00, performance_monitor, PACA_EXGEN) 196 STD_EXCEPTION_ISERIES(performance_monitor, PACA_EXGEN)
197 197
198decrementer_iSeries_masked: 198decrementer_iSeries_masked:
199 /* We may not have a valid TOC pointer in here. */ 199 /* We may not have a valid TOC pointer in here. */
diff --git a/arch/powerpc/platforms/iseries/exception.h b/arch/powerpc/platforms/iseries/exception.h
index 5b3f285e8168..ced45a8fa1aa 100644
--- a/arch/powerpc/platforms/iseries/exception.h
+++ b/arch/powerpc/platforms/iseries/exception.h
@@ -34,7 +34,7 @@
34 ori r10,r10,MSR_RI; \ 34 ori r10,r10,MSR_RI; \
35 mtmsrd r10,1 35 mtmsrd r10,1
36 36
37#define STD_EXCEPTION_ISERIES(n, label, area) \ 37#define STD_EXCEPTION_ISERIES(label, area) \
38 .globl label##_iSeries; \ 38 .globl label##_iSeries; \
39label##_iSeries: \ 39label##_iSeries: \
40 HMT_MEDIUM; \ 40 HMT_MEDIUM; \
@@ -43,7 +43,7 @@ label##_iSeries: \
43 EXCEPTION_PROLOG_ISERIES_1; \ 43 EXCEPTION_PROLOG_ISERIES_1; \
44 b label##_common 44 b label##_common
45 45
46#define MASKABLE_EXCEPTION_ISERIES(n, label) \ 46#define MASKABLE_EXCEPTION_ISERIES(label) \
47 .globl label##_iSeries; \ 47 .globl label##_iSeries; \
48label##_iSeries: \ 48label##_iSeries: \
49 HMT_MEDIUM; \ 49 HMT_MEDIUM; \