]> err.no Git - linux-2.6/blobdiff - mm/page_io.c
[PATCH] mm: remove implied vm_ops check
[linux-2.6] / mm / page_io.c
index 667c76df1ec24a04ba73f165a51b8afc91d47b26..2e605a19ce57d0611c7a6619feeace3b03680bfb 100644 (file)
@@ -127,7 +127,7 @@ out:
        return ret;
 }
 
-#if defined(CONFIG_SOFTWARE_SUSPEND) || defined(CONFIG_PM_DISK)
+#ifdef CONFIG_SOFTWARE_SUSPEND
 /*
  * A scruffy utility function to read or write an arbitrary swap page
  * and wait on the I/O.  The caller must have a ref on the page.