X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fpage_io.c;h=2e605a19ce57d0611c7a6619feeace3b03680bfb;hb=0abf40c1ac3f25d264c019e1cfe155d590defb87;hp=667c76df1ec24a04ba73f165a51b8afc91d47b26;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/mm/page_io.c b/mm/page_io.c index 667c76df1e..2e605a19ce 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -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.