diff options
author | Tommaso Marinelli <tommarin@ucm.es> | 2019-10-02 23:33:59 +0200 |
---|---|---|
committer | Tommaso Marinelli <tommarin@ucm.es> | 2019-10-04 07:00:24 +0000 |
commit | 2dc4b9d95a156030e9b7ac44ffbdbf9bdacc5944 (patch) | |
tree | f01f1b95470c43851691327e1fbfb50df02038e7 /src/gpu-compute | |
parent | 14919c5e5d984690de2e65ac2aa82d7c129b573e (diff) | |
download | gem5-2dc4b9d95a156030e9b7ac44ffbdbf9bdacc5944.tar.xz |
kvm: Rename gettid() to build with glibc 2.30+
glibc 2.30 introduced the function gettid() in sys/types.h to return the
caller's thread ID. In order to avoid conflicts, the already present
gettid() functions have been renamed to sysGettid(). This fixes a
compilation error with X86 arch.
Change-Id: I76c971465fc4b50e4decde8303185439082b2378
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21379
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/gpu-compute')
0 files changed, 0 insertions, 0 deletions