diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-26 17:49:31 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-07-02 16:10:03 +0000 |
commit | 1c9bd9ce61391d990839cca12380f2ce11c44bc7 (patch) | |
tree | 0d86c66e996009fef45a69bda215f51561c5b4f0 /src/arch/x86/include | |
parent | 328d2e2a7db357e6b7b8aad75cd1a9aea3c11be5 (diff) | |
download | coreboot-1c9bd9ce61391d990839cca12380f2ce11c44bc7.tar.xz |
arch/x86: Fix cpu_cpuid_extended_level() return type
`cpuid_eax()` returns an unsigned integer.
Change-Id: Iebb6501130bc9ae333d45ae9d2e10c918245a6d1
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33814
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index ff1a33b9ea..75f1f439b8 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -200,7 +200,7 @@ static inline unsigned int cpuid_edx(unsigned int op) #define CPUID_CACHE_NO_OF_SETS_MASK 0xffffffff #define CPUID_CACHE_NO_OF_SETS(res) CPUID_CACHE(NO_OF_SETS, (res).ecx) -int cpu_cpuid_extended_level(void); +unsigned int cpu_cpuid_extended_level(void); int cpu_have_cpuid(void); void smm_init(void); |