Skip to content
Commit cb58ffc3 authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Ingo Molnar
Browse files

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: default avatarPetr Vandrovec <petr@vandrovec.name>
Cc: thomas.petazzoni@free-electrons.com
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c613ec1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment