]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/pdflush.c
[PATCH] CBUS: Fix tahvo-usb omap_otg_remove
[linux-2.6-omap-h63xx.git] / mm / pdflush.c
index 52822c98c489c36bc30e24871eef936766b5c784..c4b6d0afd73605cdc446a1cd9fc75aca8afb3693 100644 (file)
@@ -90,7 +90,7 @@ struct pdflush_work {
 
 static int __pdflush(struct pdflush_work *my_work)
 {
-       current->flags |= PF_FLUSHER;
+       current->flags |= PF_FLUSHER | PF_SWAPWRITE;
        my_work->fn = NULL;
        my_work->who = current;
        INIT_LIST_HEAD(&my_work->list);