From: Andrew Morton Date: Fri, 30 Jun 2006 08:55:50 +0000 (-0700) Subject: [PATCH] add smp_setup_processor_id() X-Git-Tag: v2.6.18-rc1~293 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=033ab7f8e5c655f49ec8039930b2efd412abbbd7;p=pandora-kernel.git [PATCH] add smp_setup_processor_id() 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed