diff options
author | Michael Neuling <mikey@neuling.org> | 2008-06-25 00:07:18 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 21:28:44 -0400 |
commit | 10e343925ab5d9f6c651ad808f2e413e3cc053b3 (patch) | |
tree | 04073f9b5a63eb5e635e6e775ec0464f19395425 /arch/powerpc | |
parent | 9c75a31c3525a127f70b919856e32be3d8b03755 (diff) |
powerpc: Move altivec_unavailable
Move the altivec_unavailable code, to make room at 0xf40 where the
vsx_unavailable exception will be.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 25e84c0e1166..dd9e6595cae5 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -275,7 +275,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE) | |||
275 | . = 0xf00 | 275 | . = 0xf00 |
276 | b performance_monitor_pSeries | 276 | b performance_monitor_pSeries |
277 | 277 | ||
278 | STD_EXCEPTION_PSERIES(0xf20, altivec_unavailable) | 278 | . = 0xf20 |
279 | b altivec_unavailable_pSeries | ||
279 | 280 | ||
280 | #ifdef CONFIG_CBE_RAS | 281 | #ifdef CONFIG_CBE_RAS |
281 | HSTD_EXCEPTION_PSERIES(0x1200, cbe_system_error) | 282 | HSTD_EXCEPTION_PSERIES(0x1200, cbe_system_error) |
@@ -295,6 +296,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE) | |||
295 | 296 | ||
296 | /* moved from 0xf00 */ | 297 | /* moved from 0xf00 */ |
297 | STD_EXCEPTION_PSERIES(., performance_monitor) | 298 | STD_EXCEPTION_PSERIES(., performance_monitor) |
299 | STD_EXCEPTION_PSERIES(., altivec_unavailable) | ||
298 | 300 | ||
299 | /* | 301 | /* |
300 | * An interrupt came in while soft-disabled; clear EE in SRR1, | 302 | * An interrupt came in while soft-disabled; clear EE in SRR1, |