From: Kyle Roarty Date: Sun, 31 Jan 2021 04:39:06 +0000 (-0600) Subject: dev-hsa: Add missing include to hsa_driver.hh X-Git-Tag: develop-gem5-snapshot~183 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de2c26fd31f8b104ab3964bfa35378893c0c79e5;p=gem5.git dev-hsa: Add missing include to hsa_driver.hh Due to using ThreadContext::Suspended in hsa_driver.hh as of 965ad12b9a4ae4035b0f63e7ab083ac87258a071, we now need to include cpu/thread_context.hh. This change fixes that. Change-Id: I2c6882f2a29ca1638dd34cda42874b95cafbe548 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40216 Reviewed-by: Matt Sinclair Reviewed-by: Gabe Black Maintainer: Matt Sinclair Tested-by: kokoro --- diff --git a/src/dev/hsa/hsa_driver.hh b/src/dev/hsa/hsa_driver.hh index fc8131e0b..616ec94a8 100644 --- a/src/dev/hsa/hsa_driver.hh +++ b/src/dev/hsa/hsa_driver.hh @@ -54,12 +54,12 @@ #include #include "base/types.hh" +#include "cpu/thread_context.hh" #include "sim/emul_driver.hh" struct HSADriverParams; class HSADevice; class PortProxy; -class ThreadContext; class HSADriver : public EmulatedDriver {