提交 89275d59 编写于 作者: P Peter Zijlstra 提交者: Ingo Molnar

powerpc: Exclude arch_sd_sibiling_asym_packing() on UP

Only SMP systems care about load-balance features, plus this
saves some .text space on UP and also fixes the build.
Reported-by: NMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Michael Neuling <mikey@neuling.org>
LKML-Reference: <tip-76cbd8a8@git.kernel.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 76cbd8a8
......@@ -1269,6 +1269,7 @@ unsigned long randomize_et_dyn(unsigned long base)
return ret;
}
#ifdef CONFIG_SMP
int arch_sd_sibiling_asym_packing(void)
{
if (cpu_has_feature(CPU_FTR_ASYM_SMT)) {
......@@ -1277,3 +1278,4 @@ int arch_sd_sibiling_asym_packing(void)
}
return 0;
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册