diff options
author | Mihai Caraman <mihai.caraman@freescale.com> | 2013-07-01 11:35:31 -0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-10-16 19:49:44 -0400 |
commit | c58ce397a62ec14b7b06c407a4173ed667e20d5f (patch) | |
tree | bedf6c2abcf13497a91d85bcd294ec17d84ce0fa /arch/powerpc | |
parent | 6b310fc58db27318309a04621d3a4509f1c7845a (diff) |
powerpc/fsl-booke: Use common defines for SPE/FP interrupts numbers
On Book3E some SPE/FP/AltiVec interrupts share the same number. Use
common defines to indentify these numbers.
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
[scottwood@freescale.com: fixed space-before-tab]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/head_fsl_booke.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S index 289afaffbbb5..f45726a1d963 100644 --- a/arch/powerpc/kernel/head_fsl_booke.S +++ b/arch/powerpc/kernel/head_fsl_booke.S | |||
@@ -555,27 +555,27 @@ END_FTR_SECTION_IFSET(CPU_FTR_EMB_HV) | |||
555 | #ifdef CONFIG_SPE | 555 | #ifdef CONFIG_SPE |
556 | /* SPE Unavailable */ | 556 | /* SPE Unavailable */ |
557 | START_EXCEPTION(SPEUnavailable) | 557 | START_EXCEPTION(SPEUnavailable) |
558 | NORMAL_EXCEPTION_PROLOG(SPE_UNAVAIL) | 558 | NORMAL_EXCEPTION_PROLOG(SPE_ALTIVEC_UNAVAIL) |
559 | beq 1f | 559 | beq 1f |
560 | bl load_up_spe | 560 | bl load_up_spe |
561 | b fast_exception_return | 561 | b fast_exception_return |
562 | 1: addi r3,r1,STACK_FRAME_OVERHEAD | 562 | 1: addi r3,r1,STACK_FRAME_OVERHEAD |
563 | EXC_XFER_EE_LITE(0x2010, KernelSPE) | 563 | EXC_XFER_EE_LITE(0x2010, KernelSPE) |
564 | #else | 564 | #else |
565 | EXCEPTION(0x2020, SPE_UNAVAIL, SPEUnavailable, \ | 565 | EXCEPTION(0x2020, SPE_ALTIVEC_UNAVAIL, SPEUnavailable, \ |
566 | unknown_exception, EXC_XFER_EE) | 566 | unknown_exception, EXC_XFER_EE) |
567 | #endif /* CONFIG_SPE */ | 567 | #endif /* CONFIG_SPE */ |
568 | 568 | ||
569 | /* SPE Floating Point Data */ | 569 | /* SPE Floating Point Data */ |
570 | #ifdef CONFIG_SPE | 570 | #ifdef CONFIG_SPE |
571 | EXCEPTION(0x2030, SPE_FP_DATA, SPEFloatingPointData, \ | 571 | EXCEPTION(0x2030, SPE_FP_DATA_ALTIVEC_ASSIST, SPEFloatingPointData, |
572 | SPEFloatingPointException, EXC_XFER_EE); | 572 | SPEFloatingPointException, EXC_XFER_EE) |
573 | 573 | ||
574 | /* SPE Floating Point Round */ | 574 | /* SPE Floating Point Round */ |
575 | EXCEPTION(0x2050, SPE_FP_ROUND, SPEFloatingPointRound, \ | 575 | EXCEPTION(0x2050, SPE_FP_ROUND, SPEFloatingPointRound, \ |
576 | SPEFloatingPointRoundException, EXC_XFER_EE) | 576 | SPEFloatingPointRoundException, EXC_XFER_EE) |
577 | #else | 577 | #else |
578 | EXCEPTION(0x2040, SPE_FP_DATA, SPEFloatingPointData, \ | 578 | EXCEPTION(0x2040, SPE_FP_DATA_ALTIVEC_ASSIST, SPEFloatingPointData, |
579 | unknown_exception, EXC_XFER_EE) | 579 | unknown_exception, EXC_XFER_EE) |
580 | EXCEPTION(0x2050, SPE_FP_ROUND, SPEFloatingPointRound, \ | 580 | EXCEPTION(0x2050, SPE_FP_ROUND, SPEFloatingPointRound, \ |
581 | unknown_exception, EXC_XFER_EE) | 581 | unknown_exception, EXC_XFER_EE) |