]> err.no Git - linux-2.6/commit
x86: correct/clarify comment in nops.h
authorMikael Pettersson <mikpe@it.uu.se>
Tue, 11 Mar 2008 15:43:31 +0000 (16:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:58 +0000 (17:40 +0200)
commit5d570cbbf25a62e9c077f5b351fb142dbfc67288
tree8a6958c2cc729741435a3a5d1db697e86cf6436e
parent1415d160c7f7fe8f1026735d5b6cc19aec7a367f
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>
include/asm-x86/nops.h