arch-x86: include system syscall header in syscall table files
authorKyle Roarty <kyleroarty1716@gmail.com>
Sat, 7 Nov 2020 00:47:01 +0000 (18:47 -0600)
committerKyle Roarty <kyleroarty1716@gmail.com>
Sat, 7 Nov 2020 05:44:21 +0000 (05:44 +0000)
commit76ab87c809dc1c22a39676551e5befb54c399697
treed11fbe74fa46f9f849a59de406f434c7e65f3197
parente61ef19e83acf603bc234692f15d85f0c38f1d56
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 <sys/syscall.h>.

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 <mattdsinclair@gmail.com>
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/linux/syscall_tbl32.cc
src/arch/x86/linux/syscall_tbl64.cc