diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-09 10:23:25 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-06-14 19:55:09 +0000 |
commit | 8cf8a6375e5a9acfe418d3f48a9942d7356aac41 (patch) | |
tree | 94982b79e94f7a651a0c218a9ee52f183d9b61f4 | |
parent | 7c369c1e450ec4ffecdf770cadb21f2ca2b06b53 (diff) |
device/cpu_device.c: Use 'unsigned int' instead of 'unsigned'
Change-Id: I9f96d8c8e6cf2715e62ab3715da83740db8cce40
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33329
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Vlado Cibic
-rw-r--r-- | src/device/cpu_device.c | 7 |
1 files 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 <device/device.h> #include <console/console.h> -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; |