]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: avoid saving and restoring registers unnecessarily
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 24 Mar 2017 16:23:25 +0000 (16:23 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 2 Aug 2017 13:15:04 +0000 (14:15 +0100)
commitdca778c5bbf3f1cfcf7f6ef6cadf5a7e5c5d972f
treeeeac8983b2a8c0d72ceb36ce1d941fece569d4ff
parentfcea45236d3ffcd317296d75612eb163bf734407
ARM: avoid saving and restoring registers unnecessarily

Avoid repeatedly saving and restoring registers around the calls to
trace_hardirqs_on() and context_tracking_user_exit().  With the
previous changes, we no longer need to preserve "lr" across these
calls, and if we re-load r0-r3 later, we can avoid preserving these
regsiters too.

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