diff options
author | Avi Kivity <[email protected]> | 2012-08-22 13:03:48 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-08-22 12:09:49 +0200 |
commit | cb09cad44f07044d9810f18f6f9a6a6f3771f979 (patch) | |
tree | d46afa5828ace6662bf155bb4f454f35fb63990f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2530cd4f448935c74eeb49f29559589928e4b2f0 (diff) |
x86/alternatives: Fix p6 nops on non-modular kernels
Probably a leftover from the early days of self-patching, p6nops
are marked __initconst_or_module, which causes them to be
discarded in a non-modular kernel. If something later triggers
patching, it will overwrite kernel code with garbage.
Reported-by: Tomas Racek <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Cc: Michael Tokarev <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: [email protected]
Cc: Anthony Liguori <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Alan Cox <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions