kernel/eka/nkernsmp/x86/ncutilf.cpp
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
--- a/kernel/eka/nkernsmp/x86/ncutilf.cpp	Tue Aug 31 16:34:26 2010 +0300
+++ b/kernel/eka/nkernsmp/x86/ncutilf.cpp	Wed Sep 01 12:34:56 2010 +0100
@@ -15,8 +15,11 @@
 // 
 //
 
-#include <nk_priv.h>
+#include <nkern.h>
 
+extern "C" {
+extern SVariantInterfaceBlock* VIB;
+}
 
 /******************************************************************************
  * Spin lock
@@ -62,6 +65,6 @@
 */
 EXPORT_C TUint32 NKern::TimestampFrequency()
 	{
-	return TheScheduler.iVIB->iTimestampFreq;
+	return VIB->iTimestampFreq;
 	}