]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit855ca696c535dc1c8ad96114319dbb5701c36b55
tree8e337873f22e3911164c97827a7f8a80017926b8
parent5eddbe0fa3f552c3caf5d68c171b83db99a3d6c1
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
5002b84c and e2dbe100 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