bankfixed: check the right define
authorAlan Cox <alan@linux.intel.com>
Fri, 19 Dec 2014 01:12:22 +0000 (01:12 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 19 Dec 2014 01:12:22 +0000 (01:12 +0000)
Kernel/bankfixed.c

index 67f7fc4..91bc6c2 100644 (file)
@@ -25,7 +25,7 @@ void pagemap_free(ptptr p)
 
 int pagemap_alloc(ptptr p)
 {
-#ifdef SWAP_DEV
+#ifdef SWAPDEV
        if (pfptr == 0) {
                swapneeded(p, 1);
        }