--- 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;
}