[PATCH v2 2/2] powerpc/booke: Revert SPE/AltiVec common defines for interrupt numbers
Scott Wood
scottwood at freescale.com
Thu Aug 21 11:58:18 EST 2014
On Wed, 2014-08-20 at 16:09 +0300, Mihai Caraman wrote:
> Book3E specification defines shared interrupt numbers for SPE and AltiVec
> units. Still SPE is present in e200/e500v2 cores while AltiVec is present in
> e6500 core. So we can currently decide at compile-time which unit to support
> exclusively. As Alexander Graf suggested, this will improve code readability
> especially in KVM.
>
> Use distinct defines to identify SPE/AltiVec interrupt numbers, reverting
> c58ce397 and 6b310fc5 patches that added common defines.
>
> Signed-off-by: Mihai Caraman <mihai.caraman at freescale.com>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Alexander Graf <agraf at suse.de>
> ---
> arch/powerpc/kernel/exceptions-64e.S | 4 ++--
> arch/powerpc/kernel/head_fsl_booke.S | 8 ++++----
> 2 files changed, 6 insertions(+), 6 deletions(-)
Acked-by: Scott Wood <scottwood at freescale.com>
-Scott
More information about the Linuxppc-dev
mailing list