From de2c26fd31f8b104ab3964bfa35378893c0c79e5 Mon Sep 17 00:00:00 2001 From: Kyle Roarty Date: Sat, 30 Jan 2021 22:39:06 -0600 Subject: [PATCH] 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 --- src/dev/hsa/hsa_driver.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2