]> git.baikalelectronics.ru Git - kernel.git/commit
x86-32: Fix boot with CONFIG_X86_INVD_BUG
authorAndy Lutomirski <luto@mit.edu>
Thu, 25 Aug 2011 20:10:33 +0000 (16:10 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Aug 2011 20:27:14 +0000 (13:27 -0700)
commit20653955836d5ee4c8592cf46c1073d5eddf234f
tree3c10c751f3946b11559b44051d7a889965770fcf
parent1ae33bb5cafb0e9f602cbda1b9ca5ed89d2f94f9
x86-32: Fix boot with CONFIG_X86_INVD_BUG

entry_32.S contained a hardcoded alternative instruction entry, and the
format changed in commit a2e0fb97fcee ("x86: Make alternative
instruction pointers relative").

Replace the hardcoded entry with the altinstruction_entry macro.  This
fixes the 32-bit boot with CONFIG_X86_INVD_BUG=y.

Reported-and-tested-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Andy Lutomirski <luto@mit.edu>
Cc: Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/entry_32.S