linux-fix-refrigerator-calls-20050802
authorDerrick Brashear <shadow@dementia.org>
Tue, 2 Aug 2005 15:03:42 +0000 (15:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 2 Aug 2005 15:03:42 +0000 (15:03 +0000)
it's CONFIG_PF, not CONFIG_PM

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