aboutsummaryrefslogtreecommitdiff
path: root/core/affinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/affinity.c')
-rw-r--r--core/affinity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/affinity.c b/core/affinity.c
index df708a8..9f489d3 100644
--- a/core/affinity.c
+++ b/core/affinity.c
@@ -120,6 +120,8 @@ void add_core_associativity(struct cpu_thread *cpu)
core_id = (cpu->pir >> 2) & 0x7;
else if (proc_gen == proc_gen_p8)
core_id = (cpu->pir >> 3) & 0xf;
+ else if (proc_gen == proc_gen_p9)
+ core_id = (cpu->pir >> 2) & 0x1f;
else
return;