summaryrefslogtreecommitdiff
path: root/misc/mktemp.c
diff options
context:
space:
mode:
authormayshao-oc <mayshao-oc@zhaoxin.com>2020-04-26 13:48:27 +0800
committerH.J. Lu <hjl.tools@gmail.com>2020-04-30 06:45:27 -0700
commita98dc92dd1e278df4c501deb07985018bc2b06de (patch)
treeff1cd7d562a816e790c68b13dbcf5cc5ba48a6a5 /misc/mktemp.c
parent32ac0b988466785d6e3cc1dffc364bb26fc63193 (diff)
downloadglibc-a98dc92dd1e278df4c501deb07985018bc2b06de.tar
glibc-a98dc92dd1e278df4c501deb07985018bc2b06de.tar.gz
glibc-a98dc92dd1e278df4c501deb07985018bc2b06de.tar.bz2
glibc-a98dc92dd1e278df4c501deb07985018bc2b06de.zip
x86: Add cache information support for Zhaoxin processors
To obtain Zhaoxin CPU cache information, add a new function handle_zhaoxin(). Add a new function get_common_cache_info() that extracts the code in init_cacheinfo() to get the value of the variable shared, threads. Add Zhaoxin branch in init_cacheinfo() for initializing variables, such as __x86_shared_cache_size.
Diffstat (limited to 'misc/mktemp.c')
0 files changed, 0 insertions, 0 deletions