• James Bottomley's avatar
    [PATCH] fix 4k irqstacks on x86 (and add voyager support) · c608aedd
    James Bottomley authored
    There's a bug in the x86 code in that it sets the boot CPU to zero.
    
    This isn't correct since some subarch's use physically indexed CPUs. 
    However, subarchs have either set the boot cpu before irq_INIT() (or
    just inherited the default zero from INIT_THREAD_INFO()), so it's safe
    to believe current_thread_info()->cpu about the boot cpu.
    c608aedd
voyager_thread.c 3.61 KB