]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix early panic on amd64 due to typo in supported CPU section
authorPetr Vandrovec <petr@vandrovec.name>
Sun, 12 Oct 2008 08:51:03 +0000 (10:51 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Oct 2008 09:19:27 +0000 (11:19 +0200)
commit46ded31a8636465b149384e55d9008e1f48e51ea
tree335fcd151c75e95a0ce0bff6343a3dee8d151457
parentea690c120a2a7a2f11cd6da9afc40f5b4a873b75
x86: fix early panic on amd64 due to typo in supported CPU section

Do not crash when enumerating supported CPU architectures

SECURITY_INIT somehow ended up in x86_cpu_dev.init section.  That caused printk
in code which prints supported architectures to hit #GP due to non-canonical
address being used.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Cc: thomas.petazzoni@free-electrons.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/vmlinux_64.lds.S