summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorhygonsoc <hygonsoc@gmail.com>2019-01-29 00:11:04 +0800
committerhygonsoc <hygonsoc@gmail.com>2019-01-29 00:11:04 +0800
commitc3e028cacfc9a3f463d572fc3a7a52fc1fe37bef (patch)
tree7a6e7570cf00086b0a4285b97b09ee9288d5b570 /arch
parentd63a472d4b213533236ae9aab9cf9e0ec2854c31 (diff)
downloadfio-c3e028cacfc9a3f463d572fc3a7a52fc1fe37bef.tar.gz
fio-c3e028cacfc9a3f463d572fc3a7a52fc1fe37bef.tar.bz2
Add Hygon SoC support to enable tsc_reliable feature
Diffstat (limited to 'arch')
-rw-r--r--arch/arch-x86-common.h2
1 files changed, 1 insertions, 1 deletions
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();
}