summaryrefslogtreecommitdiff
path: root/arch/arch-x86-common.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-01-28 10:43:09 -0700
committerJens Axboe <axboe@kernel.dk>2019-01-28 10:43:09 -0700
commitb7119c596912fae8f101e0c1cdf36119f29fe182 (patch)
tree659d991f34d7a816545172cf97dbe15fa933c2f8 /arch/arch-x86-common.h
parent4c085cf20f5c0d083aca18680c4323a1fb2b7a1f (diff)
parentc3e028cacfc9a3f463d572fc3a7a52fc1fe37bef (diff)
downloadfio-b7119c596912fae8f101e0c1cdf36119f29fe182.tar.gz
fio-b7119c596912fae8f101e0c1cdf36119f29fe182.tar.bz2
Merge branch 'hygon-support' of https://github.com/hygonsoc/fio
* 'hygon-support' of https://github.com/hygonsoc/fio: Add Hygon SoC support to enable tsc_reliable feature
Diffstat (limited to 'arch/arch-x86-common.h')
-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 7c07a61c..87925bdc 100644
--- a/arch/arch-x86-common.h
+++ b/arch/arch-x86-common.h
@@ -81,7 +81,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();
}