dev-hsa: Add missing include to hsa_driver.hh
authorKyle Roarty <kyleroarty1716@gmail.com>
Sun, 31 Jan 2021 04:39:06 +0000 (22:39 -0600)
committerKyle Roarty <kyleroarty1716@gmail.com>
Sun, 31 Jan 2021 13:05:12 +0000 (13:05 +0000)
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 <mattdsinclair@gmail.com>
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/hsa/hsa_driver.hh

index fc8131e0b24c640ac86d1caa4f2c6f136e86d847..616ec94a8e5c0c99aba584131c58887f778350a3 100644 (file)
 #include <unordered_map>
 
 #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
 {