aboutsummaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/cpu_device.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/device/cpu_device.c b/src/device/cpu_device.c
index 9185cc67f2..be28ff64dc 100644
--- a/src/device/cpu_device.c
+++ b/src/device/cpu_device.c
@@ -29,13 +29,3 @@ struct device *add_cpu_device(struct bus *cpu_bus, unsigned int apic_id,
return cpu;
}
-
-void set_cpu_topology(struct device *cpu, unsigned int node,
- unsigned int package, unsigned int core,
- unsigned int thread)
-{
- cpu->path.apic.node_id = node;
- cpu->path.apic.package_id = package;
- cpu->path.apic.core_id = core;
- cpu->path.apic.thread_id = thread;
-}