Anthony Gutierrez has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/14775

Change subject: arch-x86: Add sys/syscalls.h to x86 process.cc
......................................................................

arch-x86: Add sys/syscalls.h to x86 process.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.

Change-Id: If1adcf41e9e455de5f2827ba98c542fdcacdc22e
---
M src/arch/x86/linux/process.cc
1 file changed, 2 insertions(+), 0 deletions(-)



diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc
index 22fe002..f663e60 100644
--- a/src/arch/x86/linux/process.cc
+++ b/src/arch/x86/linux/process.cc
@@ -39,6 +39,8 @@

 #include "arch/x86/linux/process.hh"

+#include <sys/syscalls.h>
+
 #include "arch/x86/isa_traits.hh"
 #include "arch/x86/linux/linux.hh"
 #include "arch/x86/registers.hh"

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/14775
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: If1adcf41e9e455de5f2827ba98c542fdcacdc22e
Gerrit-Change-Number: 14775
Gerrit-PatchSet: 1
Gerrit-Owner: Anthony Gutierrez <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to