From 86d1042d9fabdea7afb8808d4f8395d9e41fdf75 Mon Sep 17 00:00:00 2001 From: Dam Sunwoo Date: Thu, 1 Mar 2012 17:26:31 -0600 Subject: 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. --- src/arch/arm/system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("dprintk"); } void @@ -113,6 +112,7 @@ ArmSystem::initState() } } + debugPrintkEvent = addKernelFuncEvent("dprintk"); } ArmSystem::~ArmSystem() -- cgit v1.2.3