From a928a438b8a005e5b6059bc5db0687bf64abcfa6 Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Wed, 9 Nov 2016 14:27:40 -0600 Subject: style: [patch 3/22] reduce include dependencies in some headers Used cppclean to help identify useless includes and removed them. This involved erroneously included headers, but also cases where forward declarations could have been used rather than a full include. --- src/kern/linux/linux.cc | 1 - src/kern/linux/linux.hh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kern') diff --git a/src/kern/linux/linux.cc b/src/kern/linux/linux.cc index ef5b4417f..6618fdbd9 100644 --- a/src/kern/linux/linux.cc +++ b/src/kern/linux/linux.cc @@ -33,7 +33,6 @@ #include #include -#include "cpu/thread_context.hh" #include "debug/SyscallVerbose.hh" #include "sim/process.hh" #include "sim/system.hh" diff --git a/src/kern/linux/linux.hh b/src/kern/linux/linux.hh index 783341948..52a3bcd7b 100644 --- a/src/kern/linux/linux.hh +++ b/src/kern/linux/linux.hh @@ -36,9 +36,9 @@ #include #include "kern/operatingsystem.hh" +#include "sim/process.hh" class ThreadContext; -class LiveProcess; /// /// This class encapsulates the types, structures, constants, -- cgit v1.2.3