summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/x86/cpu_common.c2
-rw-r--r--src/arch/x86/include/arch/cpu.h2
2 files changed, 2 insertions, 2 deletions
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);
}
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);