powerpc/booke: Revert SPE/AltiVec common defines for interrupt numbers
authorMihai Caraman <mihai.caraman@freescale.com>
Wed, 20 Aug 2014 13:09:04 +0000 (16:09 +0300)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Sep 2014 08:11:31 +0000 (10:11 +0200)
commit2b2695a8d85593ec0253f7fdbeea1e18f0f9e5e2
tree8e337873f22e3911164c97827a7f8a80017926b8
parent3477e71d53197d7f1b6a1f7416f3c42ffec5f221
powerpc/booke: Revert SPE/AltiVec common defines for interrupt numbers

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@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/exceptions-64e.S
arch/powerpc/kernel/head_fsl_booke.S