aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2013-08-15 01:22:17 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-27 00:45:08 -0400
commitfa111f1f764783fd5f1f12f5dd5d5f66d3160b48 (patch)
tree2891e9820577d34aa4f1e7c9f7cc067a9504072b /arch/powerpc
parent660e034ce167b0954b83fd024c8be02c2911dbc9 (diff)
powerpc: Fix location and rename exception trampolines
The symbols that name some of our exception trampolines are ahead of the location they name. In most cases this is OK because the code is tightly packed, but in some cases it means the symbol floats ahead of the correct location, eg: c000000000000ea0 <performance_monitor_pSeries_1>: ... c000000000000f00: 7d b2 43 a6 mtsprg 2,r13 Fix them all by moving the symbol after the set of the location. While we're moving them anyway, rename them to loose the camelcase and to make it clear that they are trampolines. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/exceptions-64s.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
index 2e00b268cfb7..aa73bf940849 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -323,32 +323,32 @@ hv_exception_trampoline:
323 * prolog code of the PerformanceMonitor one. A little 323 * prolog code of the PerformanceMonitor one. A little
324 * trickery is thus necessary 324 * trickery is thus necessary
325 */ 325 */
326performance_monitor_pSeries_1:
327 . = 0xf00 326 . = 0xf00
327performance_monitor_pseries_trampoline:
328 SET_SCRATCH0(r13) 328 SET_SCRATCH0(r13)
329 EXCEPTION_PROLOG_0(PACA_EXGEN) 329 EXCEPTION_PROLOG_0(PACA_EXGEN)
330 b performance_monitor_pSeries 330 b performance_monitor_pSeries
331 331
332altivec_unavailable_pSeries_1:
333 . = 0xf20 332 . = 0xf20
333altivec_unavailable_pseries_trampoline:
334 SET_SCRATCH0(r13) 334 SET_SCRATCH0(r13)
335 EXCEPTION_PROLOG_0(PACA_EXGEN) 335 EXCEPTION_PROLOG_0(PACA_EXGEN)
336 b altivec_unavailable_pSeries 336 b altivec_unavailable_pSeries
337 337
338vsx_unavailable_pSeries_1:
339 . = 0xf40 338 . = 0xf40
339vsx_unavailable_pseries_trampoline:
340 SET_SCRATCH0(r13) 340 SET_SCRATCH0(r13)
341 EXCEPTION_PROLOG_0(PACA_EXGEN) 341 EXCEPTION_PROLOG_0(PACA_EXGEN)
342 b vsx_unavailable_pSeries 342 b vsx_unavailable_pSeries
343 343
344facility_unavailable_trampoline:
345 . = 0xf60 344 . = 0xf60
345facility_unavailable_trampoline:
346 SET_SCRATCH0(r13) 346 SET_SCRATCH0(r13)
347 EXCEPTION_PROLOG_0(PACA_EXGEN) 347 EXCEPTION_PROLOG_0(PACA_EXGEN)
348 b facility_unavailable_pSeries 348 b facility_unavailable_pSeries
349 349
350hv_facility_unavailable_trampoline:
351 . = 0xf80 350 . = 0xf80
351hv_facility_unavailable_trampoline:
352 SET_SCRATCH0(r13) 352 SET_SCRATCH0(r13)
353 EXCEPTION_PROLOG_0(PACA_EXGEN) 353 EXCEPTION_PROLOG_0(PACA_EXGEN)
354 b facility_unavailable_hv 354 b facility_unavailable_hv
@@ -821,32 +821,32 @@ system_call_relon_pSeries:
821 EXCEPTION_PROLOG_0(PACA_EXGEN) 821 EXCEPTION_PROLOG_0(PACA_EXGEN)
822 b h_doorbell_relon_hv 822 b h_doorbell_relon_hv
823 823
824performance_monitor_relon_pSeries_1:
825 . = 0x4f00 824 . = 0x4f00
825performance_monitor_relon_pseries_trampoline:
826 SET_SCRATCH0(r13) 826 SET_SCRATCH0(r13)
827 EXCEPTION_PROLOG_0(PACA_EXGEN) 827 EXCEPTION_PROLOG_0(PACA_EXGEN)
828 b performance_monitor_relon_pSeries 828 b performance_monitor_relon_pSeries
829 829
830altivec_unavailable_relon_pSeries_1:
831 . = 0x4f20 830 . = 0x4f20
831altivec_unavailable_relon_pseries_trampoline:
832 SET_SCRATCH0(r13) 832 SET_SCRATCH0(r13)
833 EXCEPTION_PROLOG_0(PACA_EXGEN) 833 EXCEPTION_PROLOG_0(PACA_EXGEN)
834 b altivec_unavailable_relon_pSeries 834 b altivec_unavailable_relon_pSeries
835 835
836vsx_unavailable_relon_pSeries_1:
837 . = 0x4f40 836 . = 0x4f40
837vsx_unavailable_relon_pseries_trampoline:
838 SET_SCRATCH0(r13) 838 SET_SCRATCH0(r13)
839 EXCEPTION_PROLOG_0(PACA_EXGEN) 839 EXCEPTION_PROLOG_0(PACA_EXGEN)
840 b vsx_unavailable_relon_pSeries 840 b vsx_unavailable_relon_pSeries
841 841
842facility_unavailable_relon_trampoline:
843 . = 0x4f60 842 . = 0x4f60
843facility_unavailable_relon_trampoline:
844 SET_SCRATCH0(r13) 844 SET_SCRATCH0(r13)
845 EXCEPTION_PROLOG_0(PACA_EXGEN) 845 EXCEPTION_PROLOG_0(PACA_EXGEN)
846 b facility_unavailable_relon_pSeries 846 b facility_unavailable_relon_pSeries
847 847
848hv_facility_unavailable_relon_trampoline:
849 . = 0x4f80 848 . = 0x4f80
849hv_facility_unavailable_relon_trampoline:
850 SET_SCRATCH0(r13) 850 SET_SCRATCH0(r13)
851 EXCEPTION_PROLOG_0(PACA_EXGEN) 851 EXCEPTION_PROLOG_0(PACA_EXGEN)
852 b facility_unavailable_relon_hv 852 b facility_unavailable_relon_hv