]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
powerpc/booke64: Remove ints from EXCEPTION_COMMON
authorScott Wood <scottwood@freescale.com>
Wed, 12 Mar 2014 23:22:58 +0000 (18:22 -0500)
committerScott Wood <scottwood@freescale.com>
Thu, 20 Mar 2014 00:57:16 +0000 (19:57 -0500)
commit28a3ded1d6980666180b26d1edf3a3e9f8ec4125
treefcffd78e45b3bafa570157fa63dee0ecf67f79b4
parenta3dc620743f44cd509a1ab7b01c33d26fb501c8c
powerpc/booke64: Remove ints from EXCEPTION_COMMON

The ints parameter was used to optionally insert RECONCILE_IRQ_STATE
into EXCEPTION_COMMON.  However, since it came at the end of
EXCEPTION_COMMON, there was no real benefit for it to be there as
opposed to being called separately by the caller of EXCEPTION_COMMON.

The ints parameter was causing some hassle when trying to add an extra
macro layer.  Besides avoiding that, moving "ints" to the caller makes
the code simpler by:
 - avoiding the asymmetry where INTS_RESTORE_HARD is called separately
by the individual exception, but INTS_DISABLE was not
 - removing the no-op INTS_KEEP
 - not having an unnecessary macro parameter

It also turned out to be necessary to delay the INTS_DISABLE
in the case of special level exceptions until after we saved the
old value of PACAIRQHAPPENED.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/exceptions-64e.S