diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-12 16:51:22 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-12-10 17:54:53 +0000 |
commit | 6e23da2983f83c803cf4abfee542d7f90e8e9eb5 (patch) | |
tree | 4ed3551c36aa01c0097002c419965e6c3ea4e9e3 /src/include | |
parent | 2db459edb0936bbaf874f40a96e98cdfc6d5d5ce (diff) |
cpu/cpu.h: Change the function signature
There is no need to pass the CPU index around.
Change-Id: Iad8e3cb318e6520ac5877118dbf43597dedb75b9
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69504
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h index 955bd73fba..a77cb33b4a 100644 --- a/src/include/cpu/cpu.h +++ b/src/include/cpu/cpu.h @@ -6,7 +6,7 @@ #include <arch/cpu.h> /* IWYU pragma: export */ #include <stdint.h> -void cpu_initialize(unsigned int cpu_index); +void cpu_initialize(void); /* Returns default APIC id based on logical_cpu number or < 0 on failure. */ int cpu_get_apic_id(int logical_cpu); uintptr_t cpu_get_lapic_addr(void); |