• Manfred Spraul's avatar
    [PATCH] Avoid overwriting boot_cpu_data from trampoline code · dd0f2bdf
    Manfred Spraul authored
    boot_cpu_data should contain the common capabilities of all cpus in the
    system. identify_cpu [arch/i386/kernel/cpu/common.c] tries to enforce
    that. But right now, the SMP trampoline code [arch/i386/kernel/head.S]
    overwrites boot_cpu_data when the secondary cpus are started, i.e.
    boot_cpu_data contains the capabilities from the last cpu that booted :-(
    
    The attached patch adds a new, __initdata variable for the asm code.
    dd0f2bdf
setup.c 25.2 KB