From: David S. Miller Date: Sat, 14 Jul 2007 07:45:16 +0000 (-0700) Subject: [SPARC64]: Fix build regressions added by dr-cpu changes. X-Git-Tag: v2.6.23-rc1~784^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b14f5c100ce4c63e4c5a71ab47e71cf4a1caa9e3;p=pandora-kernel.git [SPARC64]: Fix build regressions added by dr-cpu changes. Do not select HOTPLUG_CPU from SUN_LDOMS, that causes HOTPLUG_CPU to be selected even on non-SMP which is illegal. Only build hvtramp.o when SMP, just like trampoline.o Protect dr-cpu code in ds.c with HOTPLUG_CPU. Likewise move ldom_startcpu_cpuid() to smp.c and protect it and the call site with SUN_LDOMS && HOTPLUG_CPU. Signed-off-by: David S. Miller --- Reading git-diff-tree failed