Searched hist:"8 b27386a9ce9c7f0f8702cff7565a46802ad57d1" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/kernel/ |
H A D | ftrace.c | diff 8b27386a9ce9c7f0f8702cff7565a46802ad57d1 Thu Oct 09 21:19:08 CDT 2008 Anders Kaseorg <andersk@MIT.EDU> ftrace: make ftrace_test_p6nop disassembler-friendly
Commit 4c3dc21b136f8cb4b72afee16c3ba7e961656c0b in tip introduced the 5-byte NOP ftrace_test_p6nop:
jmp . + 5 .byte 0x00, 0x00, 0x00
This is not friendly to disassemblers because an odd number of 0x00s ends in the middle of an instruction boundary. This changes the 0x00s to 1-byte NOPs (0x90).
Signed-off-by: Anders Kaseorg <andersk@mit.edu> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
|