
10 Jun
2018
10 Jun
'18
3:25 p.m.
Currently when EFI application boots, it says:
CPU: x86_64, vendor <invalid cpu vendor>, device 0h
Fix this by calling x86_cpu_init_f() in arch_cpu_init().
Signed-off-by: Bin Meng bmeng.cn@gmail.com
---
arch/x86/cpu/efi/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/cpu/efi/app.c b/arch/x86/cpu/efi/app.c index cda4fab..ba7c02b 100644 --- a/arch/x86/cpu/efi/app.c +++ b/arch/x86/cpu/efi/app.c @@ -9,7 +9,7 @@
int arch_cpu_init(void) { - return 0; + return x86_cpu_init_f(); }
int checkcpu(void)
--
2.7.4