diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-03-24 16:23:25 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-08-02 14:15:04 +0100 |
commit | dca778c5bbf3f1cfcf7f6ef6cadf5a7e5c5d972f (patch) | |
tree | eeac8983b2a8c0d72ceb36ce1d941fece569d4ff /arch/arm/kernel/stacktrace.c | |
parent | fcea45236d3ffcd317296d75612eb163bf734407 (diff) | |
download | linux-dca778c5bbf3f1cfcf7f6ef6cadf5a7e5c5d972f.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions