From 1c9bd9ce61391d990839cca12380f2ce11c44bc7 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 26 Jun 2019 17:49:31 +0200 Subject: arch/x86: Fix cpu_cpuid_extended_level() return type `cpuid_eax()` returns an unsigned integer. Change-Id: Iebb6501130bc9ae333d45ae9d2e10c918245a6d1 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33814 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Nico Huber --- src/arch/x86/cpu_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86/cpu_common.c') diff --git a/src/arch/x86/cpu_common.c b/src/arch/x86/cpu_common.c index 119122786d..0fd0af016f 100644 --- a/src/arch/x86/cpu_common.c +++ b/src/arch/x86/cpu_common.c @@ -49,7 +49,7 @@ int cpu_have_cpuid(void) } #endif -int cpu_cpuid_extended_level(void) +unsigned int cpu_cpuid_extended_level(void) { return cpuid_eax(0x80000000); } -- cgit v1.2.3