• A
    x86: Fix VMI && stack protector · 7d5b0056
    Alok Kataria 提交于
    With CONFIG_STACK_PROTECTOR turned on, VMI doesn't boot with
    more than one processor. The problem is with the gs value not
    being initialized correctly when registering the secondary
    processor for VMI's case.
    
    The patch below initializes the gs value for the AP to
    __KERNEL_STACK_CANARY. Without this the secondary processor
    keeps on taking a GP on every gs access.
    Signed-off-by: NAlok N Kataria <akataria@vmware.com>
    Cc: <stable@kernel.org> # for v2.6.30.x
    LKML-Reference: <1249425262.18955.40.camel@ank32.eng.vmware.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    7d5b0056
vmi_32.c 26.6 KB