simple: no cache flusher needed
authorAlan Cox <alan@linux.intel.com>
Thu, 26 Feb 2015 22:43:50 +0000 (22:43 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 26 Feb 2015 22:43:50 +0000 (22:43 +0000)
Kernel/simple.c

index a4313fe..2e7ba95 100644 (file)
@@ -71,7 +71,6 @@ int swapout(ptptr p)
        map = swapmap_alloc();
        if (map == 0)
                return ENOMEM;
-       flush_cache(p);
        blk = map * SWAP_SIZE;
        /* Write the app (and possibly the uarea etc..) to disk */
        swapwrite(SWAPDEV, blk, SWAPTOP - SWAPBASE,