From 8cf8a6375e5a9acfe418d3f48a9942d7356aac41 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 9 Jun 2019 10:23:25 +0200 Subject: device/cpu_device.c: Use 'unsigned int' instead of 'unsigned' Change-Id: I9f96d8c8e6cf2715e62ab3715da83740db8cce40 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33329 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Vlado Cibic --- src/device/cpu_device.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/device/cpu_device.c b/src/device/cpu_device.c index b07b555b52..f59cce3573 100644 --- a/src/device/cpu_device.c +++ b/src/device/cpu_device.c @@ -17,7 +17,7 @@ #include #include -struct device *add_cpu_device(struct bus *cpu_bus, unsigned apic_id, +struct device *add_cpu_device(struct bus *cpu_bus, unsigned int apic_id, int enabled) { struct device_path cpu_path; @@ -42,8 +42,9 @@ struct device *add_cpu_device(struct bus *cpu_bus, unsigned apic_id, return cpu; } -void set_cpu_topology(struct device *cpu, unsigned node, unsigned package, - unsigned core, unsigned thread) +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; -- cgit v1.2.3