diff options
author | Tony Gutierrez <anthony.gutierrez@amd.com> | 2018-11-30 12:19:21 -0500 |
---|---|---|
committer | Anthony Gutierrez <anthony.gutierrez@amd.com> | 2018-12-05 16:18:54 +0000 |
commit | 3b7f8c22f4cca8de7222432066273912b65424e3 (patch) | |
tree | 9361b3b36d3cca958a9ae0390b8e965db3bcf3e9 /ext/googletest/samples/sample8_unittest.cc | |
parent | 813e124c14c6a04f97bdf8b2defd84d0ca201f45 (diff) | |
download | gem5-3b7f8c22f4cca8de7222432066273912b65424e3.tar.xz |
arch-x86: Add sys/syscall.h to x86 process.cc/syscall_emul.cc
Change a66d12c guards the selection of getdents()
in x86's process.cc file with SYS_getdents, however
process.cc does not include the right header for
SYS_getdents, which leads to x86 choosing the
unimplemented call. This change adds sys/syscall.h to
address the problem.
This change also adds sys/syscall.hh to syscall_emu.cc,
which only includes syscall.hh and may not be supported on
all systems.
Change-Id: If1adcf41e9e455de5f2827ba98c542fdcacdc22e
Reviewed-on: https://gem5-review.googlesource.com/c/14775
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'ext/googletest/samples/sample8_unittest.cc')
0 files changed, 0 insertions, 0 deletions