systemc: Include eventq_impl.hh in scheduler.hh.
authorGabe Black <gabeblack@google.com>
Sat, 23 May 2020 08:05:25 +0000 (01:05 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 25 May 2020 23:17:14 +0000 (23:17 +0000)
This ensures that we also get the inline definitions of some of the
methods defined in the EventQueue class. In certain circumstances gem5
won't link properly otherwise.

Change-Id: Ie0dfef207a165095bdfe1199cd1f690cebc4cbbf
Issue-on: https://gem5.atlassian.net/projects/GEM5/issues/GEM5-597
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29397
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/systemc/core/scheduler.hh

index c9ca161cf17fe5a44f145f49fbbefdec17127ace..31cc35e8e9fb19501d83b148a56215262fdf45ed 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "base/logging.hh"
 #include "sim/core.hh"
-#include "sim/eventq.hh"
+#include "sim/eventq_impl.hh"
 #include "systemc/core/channel.hh"
 #include "systemc/core/list.hh"
 #include "systemc/core/process.hh"