From c3e028cacfc9a3f463d572fc3a7a52fc1fe37bef Mon Sep 17 00:00:00 2001 From: hygonsoc Date: Tue, 29 Jan 2019 00:11:04 +0800 Subject: [PATCH] Add Hygon SoC support to enable tsc_reliable feature --- arch/arch-x86-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arch-x86-common.h b/arch/arch-x86-common.h index 5140f238..f32835cc 100644 --- a/arch/arch-x86-common.h +++ b/arch/arch-x86-common.h @@ -70,7 +70,7 @@ static inline void arch_init(char *envp[]) str[12] = '\0'; if (!strcmp(str, "GenuineIntel")) arch_init_intel(); - else if (!strcmp(str, "AuthenticAMD")) + else if (!strcmp(str, "AuthenticAMD") || !strcmp(str, "HygonGenuine")) arch_init_amd(); } -- 2.25.1