diff options
author | Peter Zijlstra <[email protected]> | 2019-10-09 12:44:20 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-27 07:44:24 +0100 |
commit | 97e6c977ccf128c3f34d6084ad53fc0021f90e03 (patch) | |
tree | e468f67349064db5ddcb040ce11d851475bd3066 /scripts/gdb/linux/timerlist.py | |
parent | 67c1d4a28064f9ec63df03f7798e4a334176a9cd (diff) |
x86/alternative: Remove text_poke_loc::len
Per the BUG_ON(len != insn.length) in text_poke_loc_init(), tp->len
must indeed be the same as text_opcode_size(tp->opcode). Use this to
remove this field from the structure.
Sadly, due to 8 byte alignment, this only increases the structure
padding.
Tested-by: Alexei Starovoitov <[email protected]>
Tested-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions