1 From 5e8386a65d2b7fd157d2a6e2f9b8ca79011976b7 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Mon, 3 Oct 2016 10:16:03 -0700
4 Subject: [PATCH] staging/vchi: Update for rename of page_cache_release() to
7 Signed-off-by: Eric Anholt <eric@anholt.net>
9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 4 ++--
10 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +-
11 2 files changed, 3 insertions(+), 3 deletions(-)
13 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
14 +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
15 @@ -444,7 +444,7 @@ create_pagelist(char __user *buf, size_t
16 while (actual_pages > 0)
19 - page_cache_release(pages[actual_pages]);
20 + put_page(pages[actual_pages]);
23 if (actual_pages == 0)
24 @@ -585,7 +585,7 @@ free_pagelist(PAGELIST_T *pagelist, int
28 - page_cache_release(pg);
33 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
34 +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
35 @@ -1530,7 +1530,7 @@ dump_phys_mem(void *virt_addr, uint32_t
38 for (page_idx = 0; page_idx < num_pages; page_idx++)
39 - page_cache_release(pages[page_idx]);
40 + put_page(pages[page_idx]);