Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d1efed5 authored by Tony Luck's avatar Tony Luck
Browse files

[IA64] Fix build for CONFIG_SMP=n



d5a7430d missed a spot where we
use cpu_sibling_map and cpu_core_map.  These don't exist on a
uni-processor build.  Wrap #ifdef CONFIG_SMP ... #endif around it.

Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 821f3eff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -869,6 +869,7 @@ cpu_init (void)
	void *cpu_data;

	cpu_data = per_cpu_init();
#ifdef CONFIG_SMP
	/*
	 * insert boot cpu into sibling and core mapes
	 * (must be done after per_cpu area is setup)
@@ -877,6 +878,7 @@ cpu_init (void)
		cpu_set(0, per_cpu(cpu_sibling_map, 0));
		cpu_set(0, cpu_core_map[0]);
	}
#endif

	/*
	 * We set ar.k3 so that assembly code in MCA handler can compute