]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/booke64: Add crit/mc/debug support to EXCEPTION_COMMON
authorScott Wood <scottwood@freescale.com>
Thu, 13 Mar 2014 00:07:51 +0000 (19:07 -0500)
committerScott Wood <scottwood@freescale.com>
Thu, 20 Mar 2014 00:57:17 +0000 (19:57 -0500)
commit31f712482894d723e38490139eb03156a5d3eb59
tree08cf140981c8ecabdb3d47b531afa739bb21f85f
parent28a3ded1d6980666180b26d1edf3a3e9f8ec4125
powerpc/booke64: Add crit/mc/debug support to EXCEPTION_COMMON

Use the proper scratch SPRG and PACA region.  Introduce level-specific
macros to simplify usage and avoid needing to do a bunch of token
pasting throughout EXCEPTION_COMMON().

Now that EXCEPTION_COMMON_DBG() is properly using the debug scratch
register, there's no more need for the caller to move the value to the
GEN scratch first.

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