ARM: entry: move IRQ tracing exit into svc_exit
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 28 Mar 2013 12:57:40 +0000 (12:57 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Apr 2013 15:50:13 +0000 (16:50 +0100)
commit9b56febea22003c424f11248908b534eba0f1eeb
tree136baa2d07413295ac71a873d4a10701a971d083
parent651e94995ed5c10d77adcf19edb9de7d6f0cac3e
ARM: entry: move IRQ tracing exit into svc_exit

The IRQ tracing exit path is much the same between all SVC mode
exits, so move this into the svc_exit macro.  Use a macro parameter
to identify the IRQ case, which is the only different case there is.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-header.S