diff options
author | Steven Rostedt <[email protected]> | 2012-04-26 08:31:17 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2012-07-03 14:14:38 +1000 |
commit | ee456bb346e75a9b6d941224b108250e6ee5f79f (patch) | |
tree | aa6b3c6f3ebd396d458ebcdaf3dab7809df3f06a /arch/powerpc/lib/code-patching.c | |
parent | b81f18e55e9f4ea81759bcb00fea295de679bbe8 (diff) |
powerpc/ftrace: Have PPC skip updating with stop_machine()
PowerPC does not have the synchronization issues that x86 has with
modifying code on one CPU while another CPU is executing it.
The other CPU will either see the old or new code without any
issues, unlike x86 which may issue a GPF.
Instead of calling the heavy stop_machine, just update the code.
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions