From: Kyle Roarty Date: Sat, 7 Nov 2020 00:47:01 +0000 (-0600) Subject: arch-x86: include system syscall header in syscall table files X-Git-Tag: develop-gem5-snapshot~495 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76ab87c809dc1c22a39676551e5befb54c399697;p=gem5.git arch-x86: include system syscall header in syscall table files The getdents syscall is only implemented on hosts that define SYS_getdents, which is located in . That header was missed when splitting the syscall tables into their own files; this patch adds the header to the syscall table files. Change-Id: I28d54f6ea2874aa533c89ed7520561e19fe5e5f9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37195 Reviewed-by: Matt Sinclair Reviewed-by: Matthew Poremba Maintainer: Matt Sinclair Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/arch/x86/linux/syscall_tbl32.cc b/src/arch/x86/linux/syscall_tbl32.cc index 855de8833..50d0969b0 100644 --- a/src/arch/x86/linux/syscall_tbl32.cc +++ b/src/arch/x86/linux/syscall_tbl32.cc @@ -25,6 +25,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + #include "arch/x86/linux/linux.hh" #include "arch/x86/linux/se_workload.hh" #include "arch/x86/linux/syscalls.hh" diff --git a/src/arch/x86/linux/syscall_tbl64.cc b/src/arch/x86/linux/syscall_tbl64.cc index 3516ea295..8630265e0 100644 --- a/src/arch/x86/linux/syscall_tbl64.cc +++ b/src/arch/x86/linux/syscall_tbl64.cc @@ -25,6 +25,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + #include "arch/x86/linux/linux.hh" #include "arch/x86/linux/se_workload.hh" #include "arch/x86/linux/syscalls.hh"