linux-fix-refrigerator-calls-20050802
[openafs.git] / src / afs / LINUX / osi_sleep.c
index 33b53d7..c0e4072 100644 (file)
@@ -193,7 +193,7 @@ afs_osi_SleepSig(void *event)
        AFS_GUNLOCK();
        schedule();
 #ifdef AFS_LINUX26_ENV
-#ifdef CONFIG_PF
+#ifdef CONFIG_PM
        if (current->flags & PF_FREEZE)
            refrigerator(PF_FREEZE);
 #endif
@@ -277,7 +277,7 @@ osi_TimedSleep(char *event, afs_int32 ams, int aintok)
     } else
        schedule_timeout(ticks);
 #ifdef AFS_LINUX26_ENV
-#ifdef CONFIG_PF
+#ifdef CONFIG_PM
     if (current->flags & PF_FREEZE)
        refrigerator(PF_FREEZE);
 #endif