summaryrefslogtreecommitdiff
path: root/cpu/pc_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/pc_event.cc')
-rw-r--r--cpu/pc_event.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/pc_event.cc b/cpu/pc_event.cc
index aa6c51466..c3bb3dbe6 100644
--- a/cpu/pc_event.cc
+++ b/cpu/pc_event.cc
@@ -32,6 +32,7 @@
#include <utility>
#include "base/trace.hh"
+#include "config/full_system.hh"
#include "cpu/base.hh"
#include "cpu/exec_context.hh"
#include "cpu/pc_event.hh"
@@ -131,7 +132,7 @@ BreakPCEvent::process(ExecContext *xc)
delete this;
}
-#ifdef FULL_SYSTEM
+#if FULL_SYSTEM
extern "C"
void
sched_break_pc_sys(System *sys, Addr addr)