]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: entry: no need to reload the SPSR value from struct pt_regs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 26 Jun 2011 11:47:08 +0000 (12:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Jul 2011 09:56:12 +0000 (10:56 +0100)
commit30891c90d81133179cc47eb77c30764a3b5dad5c
tree4af470a3f2d999ec8feefce84b6d502c28cdfbb4
parent40f0b90a2f16f433f9afbfef4b7c312efb54e933
ARM: entry: no need to reload the SPSR value from struct pt_regs

The SVC IRQ, prefetch and data abort handlers preserve the SPSR value
via r5 across the exception.  Rather than re-loading it from pt_regs,
use the preserved value instead.

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