--- a/kernel/eka/drivers/usbcc/queue.cpp Tue Aug 24 14:42:58 2010 +0100
+++ b/kernel/eka/drivers/usbcc/queue.cpp Tue Aug 24 14:49:21 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
@@ -23,6 +23,11 @@
*/
#include <drivers/usbc.h>
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "queueTraces.h"
+#endif
+
void TSglQueLink::Enque(TSglQueLink* aLink)
@@ -86,7 +91,8 @@
pN = pP->iNext;
}
// This doesn't have to indicate an error (but might):
- __KTRACE_OPT(KPANIC, Kern::Printf("TSglQueBase::DoRemove: ESQueLinkNotQueued"));
+ OstTraceDef0( OST_TRACE_CATEGORY_RND, TRACE_FATAL, TSGLQUEBASE_DOREMOVE,
+ "TSglQueBase::DoRemove: ESQueLinkNotQueued" );
}