Skip to content
Snippets Groups Projects
Commit b14f5c10 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent f8be339c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment