powerpc/booke64: Use common defines for AltiVec 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> Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
Родитель
6cf09b9d17
Коммит
6b310fc58d
|
@ -399,7 +399,7 @@ interrupt_end_book3e:
|
||||||
|
|
||||||
/* Altivec Unavailable Interrupt */
|
/* Altivec Unavailable Interrupt */
|
||||||
START_EXCEPTION(altivec_unavailable);
|
START_EXCEPTION(altivec_unavailable);
|
||||||
NORMAL_EXCEPTION_PROLOG(0x200, BOOKE_INTERRUPT_ALTIVEC_UNAVAIL,
|
NORMAL_EXCEPTION_PROLOG(0x200, BOOKE_INTERRUPT_SPE_ALTIVEC_UNAVAIL,
|
||||||
PROLOG_ADDITION_NONE)
|
PROLOG_ADDITION_NONE)
|
||||||
/* we can probably do a shorter exception entry for that one... */
|
/* we can probably do a shorter exception entry for that one... */
|
||||||
EXCEPTION_COMMON(0x200, PACA_EXGEN, INTS_KEEP)
|
EXCEPTION_COMMON(0x200, PACA_EXGEN, INTS_KEEP)
|
||||||
|
@ -421,7 +421,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
|
||||||
|
|
||||||
/* AltiVec Assist */
|
/* AltiVec Assist */
|
||||||
START_EXCEPTION(altivec_assist);
|
START_EXCEPTION(altivec_assist);
|
||||||
NORMAL_EXCEPTION_PROLOG(0x220, BOOKE_INTERRUPT_ALTIVEC_ASSIST,
|
NORMAL_EXCEPTION_PROLOG(0x220,
|
||||||
|
BOOKE_INTERRUPT_SPE_FP_DATA_ALTIVEC_ASSIST,
|
||||||
PROLOG_ADDITION_NONE)
|
PROLOG_ADDITION_NONE)
|
||||||
EXCEPTION_COMMON(0x220, PACA_EXGEN, INTS_DISABLE)
|
EXCEPTION_COMMON(0x220, PACA_EXGEN, INTS_DISABLE)
|
||||||
bl .save_nvgprs
|
bl .save_nvgprs
|
||||||
|
|
Загрузка…
Ссылка в новой задаче