From: hygonsoc Date: Mon, 28 Jan 2019 16:11:04 +0000 (+0800) Subject: Add Hygon SoC support to enable tsc_reliable feature X-Git-Tag: fio-3.13~9^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c3e028cacfc9a3f463d572fc3a7a52fc1fe37bef Add Hygon SoC support to enable tsc_reliable feature --- 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(); }