]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
powerpc: Move altivec_unavailable
authorMichael Neuling <mikey@neuling.org>
Wed, 25 Jun 2008 04:07:18 +0000 (14:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:44 +0000 (11:28 +1000)
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>
arch/powerpc/kernel/head_64.S

index 25e84c0e116695e37d416296e34eb6f8cfc28ba6..dd9e6595cae5190538b99635aae77f9d798e08d9 100644 (file)
@@ -275,7 +275,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE)
        . = 0xf00
        b       performance_monitor_pSeries
 
-       STD_EXCEPTION_PSERIES(0xf20, altivec_unavailable)
+       . = 0xf20
+       b       altivec_unavailable_pSeries
 
 #ifdef CONFIG_CBE_RAS
        HSTD_EXCEPTION_PSERIES(0x1200, cbe_system_error)
@@ -295,6 +296,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE)
 
        /* moved from 0xf00 */
        STD_EXCEPTION_PSERIES(., performance_monitor)
+       STD_EXCEPTION_PSERIES(., altivec_unavailable)
 
 /*
  * An interrupt came in while soft-disabled; clear EE in SRR1,