staging/vchi: Update for rename of page_cache_release() to put_page().
authorEric Anholt <eric@anholt.net>
Mon, 3 Oct 2016 18:52:07 +0000 (11:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:17 +0000 (10:24 +0200)
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c

index 18f268ee6d4bf9fc2d6f9bacbe964ce475aa0cec..4cb5bff237288a4ee80d80ba53a2efe96f2749f3 100644 (file)
@@ -439,7 +439,7 @@ create_pagelist(char __user *buf, size_t count, unsigned short type,
                        while (actual_pages > 0)
                        {
                                actual_pages--;
-                               page_cache_release(pages[actual_pages]);
+                               put_page(pages[actual_pages]);
                        }
                        kfree(pagelist);
                        if (actual_pages == 0)
@@ -578,7 +578,7 @@ free_pagelist(PAGELIST_T *pagelist, int actual)
                                offset = 0;
                                set_page_dirty(pg);
                        }
-                       page_cache_release(pg);
+                       put_page(pg);
                }
        }
 
index 56c2c48f68018e21ee07197dc27334f7eabb6d15..47df1af2219d875b4fb0c8ee328f703d9bc366f4 100644 (file)
@@ -1512,7 +1512,7 @@ dump_phys_mem(void *virt_addr, uint32_t num_bytes)
                kunmap(page);
 
        for (page_idx = 0; page_idx < num_pages; page_idx++)
-               page_cache_release(pages[page_idx]);
+               put_page(pages[page_idx]);
 
        kfree(pages);
 }