Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/40337 )

Change subject: x86: Avoid including arch/x86/registers.hh.
......................................................................

x86: Avoid including arch/x86/registers.hh.

Don't include arch/x86/registers.hh when other, local headers have the
actual information we need.

Change-Id: I9a7407475b04231ac84d9c5bb299915eadec3589
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40337
Tested-by: kokoro <[email protected]>
Reviewed-by: Gabe Black <[email protected]>
Maintainer: Gabe Black <[email protected]>
---
M src/arch/x86/linux/se_workload.cc
M src/arch/x86/linux/syscalls.cc
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Gabe Black: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/arch/x86/linux/se_workload.cc b/src/arch/x86/linux/se_workload.cc
index 66e4763..f00d5b3 100644
--- a/src/arch/x86/linux/se_workload.cc
+++ b/src/arch/x86/linux/se_workload.cc
@@ -43,6 +43,7 @@
 #include "arch/x86/linux/linux.hh"
 #include "arch/x86/page_size.hh"
 #include "arch/x86/process.hh"
+#include "arch/x86/regs/int.hh"
 #include "arch/x86/se_workload.hh"
 #include "base/trace.hh"
 #include "cpu/thread_context.hh"
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc
index b64e4c7..194235d 100644
--- a/src/arch/x86/linux/syscalls.cc
+++ b/src/arch/x86/linux/syscalls.cc
@@ -29,6 +29,7 @@

 #include "arch/x86/linux/linux.hh"
 #include "arch/x86/process.hh"
+#include "arch/x86/regs/misc.hh"
 #include "base/trace.hh"
 #include "cpu/thread_context.hh"
 #include "kern/linux/linux.hh"



22 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/40337
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I9a7407475b04231ac84d9c5bb299915eadec3589
Gerrit-Change-Number: 40337
Gerrit-PatchSet: 26
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Alex Dutu <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to