[PATCH] unpaged: get_user_pages VM_RESERVED
[pandora-kernel.git] / mm / filemap.c
index 5d6e4c2..33a28bf 100644 (file)
@@ -134,7 +134,7 @@ static int sync_page(void *word)
        struct address_space *mapping;
        struct page *page;
 
-       page = container_of((page_flags_t *)word, struct page, flags);
+       page = container_of((unsigned long *)word, struct page, flags);
 
        /*
         * page_mapping() is being called without PG_locked held.