diff options
author | Dam Sunwoo <dam.sunwoo@arm.com> | 2012-03-01 17:26:31 -0600 |
---|---|---|
committer | Dam Sunwoo <dam.sunwoo@arm.com> | 2012-03-01 17:26:31 -0600 |
commit | 86d1042d9fabdea7afb8808d4f8395d9e41fdf75 (patch) | |
tree | 6f083e0ee944de36ced5b4f465a9610707d2e0a2 /src | |
parent | d51478db4ed0a15fa180282f3fe986c5b89f50ba (diff) | |
download | gem5-86d1042d9fabdea7afb8808d4f8395d9e41fdf75.tar.xz |
ARM: move kernel func event to correct location.
With the recent series of patches, the symbol table loading moved from
"construct" time to "init" time, but the kernel function event
callback registration was left behind. This patch moves it to the
proper location.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arm/system.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/system.cc b/src/arch/arm/system.cc index c26be6026..8b85715cb 100644 --- a/src/arch/arm/system.cc +++ b/src/arch/arm/system.cc @@ -55,7 +55,6 @@ using namespace Linux; ArmSystem::ArmSystem(Params *p) : System(p), bootldr(NULL) { - debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk"); } void @@ -113,6 +112,7 @@ ArmSystem::initState() } } + debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk"); } ArmSystem::~ArmSystem() |