Commit 5d570cbbf25a62e9c077f5b351fb142dbfc67288
Committed by
Ingo Molnar
1 parent
1415d160c7
Exists in
master
and in
7 other branches
x86: correct/clarify comment in nops.h
<asm-x86/nops.h> describes certain multibyte instructions as "generic" nops when in fact they aren't nops at all in 64-bit mode (missing REX.W causing truncation of a register). Update the comment to state that K8 or P6 style nops should be used in 64-bit mode. This matches what the alternatives code does. Signed-off-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
include/asm-x86/nops.h