aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/process.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 9d255b4f0a0e..9b41ece010b6 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -1268,3 +1268,14 @@ unsigned long randomize_et_dyn(unsigned long base)
1268 1268
1269 return ret; 1269 return ret;
1270} 1270}
1271
1272#ifdef CONFIG_SMP
1273int arch_sd_sibiling_asym_packing(void)
1274{
1275 if (cpu_has_feature(CPU_FTR_ASYM_SMT)) {
1276 printk_once(KERN_INFO "Enabling Asymmetric SMT scheduling\n");
1277 return SD_ASYM_PACKING;
1278 }
1279 return 0;
1280}
1281#endif