fixed a compilation error.
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 10 Sep 2011 06:27:49 +0000 (23:27 -0700)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 10 Sep 2011 06:27:49 +0000 (23:27 -0700)
src/arch/gemini_gni/machine.c

index 344d10040b4a20e9b0985eec94ecf09ffd52844b..d485d3783a3d1ee891a5cc2a7e691f75c77455ca 100644 (file)
@@ -759,6 +759,7 @@ void CmiNotifyIdleForGemini(void) {
 static void LrtsPostCommonInit(int everReturn)
 {
 #if CMK_SMP
+    CmiIdleState *s=CmiNotifyGetState();
     CcdCallOnConditionKeep(CcdPROCESSOR_BEGIN_IDLE,(CcdVoidFn)CmiNotifyBeginIdle,(void *)s);
     CcdCallOnConditionKeep(CcdPROCESSOR_STILL_IDLE,(CcdVoidFn)CmiNotifyStillIdle,(void *)s);
 #else