• A
    [PATCH] add smp_setup_processor_id() · 033ab7f8
    Andrew Morton 提交于
    Presently, smp_processor_id() isn't necessarily set up until setup_arch().
    But it's used in boot_cpu_init() and printk() and perhaps in other places,
    prior to setup_arch() being called.
    
    So provide a new smp_setup_processor_id() which is called before anything
    else, wire it up for Voyager (which boots on a CPU other than #0, and broke).
    
    Cc: James Bottomley <James.Bottomley@steeleye.com>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    033ab7f8
main.c 17.1 KB