aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNaveen N. Rao <[email protected]>2017-06-29 17:49:17 +0000
committerMichael Ellerman <[email protected]>2017-07-03 13:12:00 +0000
commit266de3a842d70b481ef1dac487acfad1240deb7e (patch)
treea449d0478c0d9d357e3d579eb6e207ffd2e0c937 /arch/powerpc/lib/code-patching.c
parentpowerpc/64s: Blacklist system_call() and system_call_common() from kprobes (diff)
downloadkernel-266de3a842d70b481ef1dac487acfad1240deb7e.tar.gz
kernel-266de3a842d70b481ef1dac487acfad1240deb7e.zip
powerpc/64s: Move system_call() symbol to just after setting MSR_EE
It is common to get a PMU interrupt right after the mtmsr instruction that enables interrupts. Due to this, the stack trace profile gets needlessly split across system_call_common() and system_call(). Previously, system_call() symbol was at the current place to hide a few earlier symbols which have since been made private or removed entirely. So, let's move system_call() slightly higher up, right after the mtmsr instruction that enables interrupts. Convert existing references to system_call to a local syscall symbol. Suggested-by: Nicholas Piggin <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions