diff options
author | Olav Haugan <ohaugan@codeaurora.org> | 2013-11-12 17:52:47 -0800 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-05 18:21:06 +0100 |
commit | 177d37f7c0b4be550b9b7cb581dcb0d86c40fbe0 (patch) | |
tree | a5fcea297748fdc4c765f2368b24ad33c56dfbef /drivers/staging | |
parent | af926168cb200c1f47899f612cf87076c7c9a3fe (diff) | |
download | kernel_samsung_tuna-177d37f7c0b4be550b9b7cb581dcb0d86c40fbe0.zip kernel_samsung_tuna-177d37f7c0b4be550b9b7cb581dcb0d86c40fbe0.tar.gz kernel_samsung_tuna-177d37f7c0b4be550b9b7cb581dcb0d86c40fbe0.tar.bz2 |
staging: zsmalloc: Rename page_mapcount_reset
The page_mapcount_reset function was renamed from
reset_page_mapcount when back-porting zsmalloc from 3.10 kernel.
Revert this change to enable compilation of zsmalloc.
Change-Id: Iba09fc3f0294dae746d2e2b026e0015711c22f01
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/zsmalloc/zsmalloc-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/zsmalloc/zsmalloc-main.c b/drivers/staging/zsmalloc/zsmalloc-main.c index f82f7e6..1d5c6ba 100644 --- a/drivers/staging/zsmalloc/zsmalloc-main.c +++ b/drivers/staging/zsmalloc/zsmalloc-main.c @@ -472,7 +472,7 @@ static void reset_page(struct page *page) set_page_private(page, 0); page->mapping = NULL; page->freelist = NULL; - page_mapcount_reset(page); + reset_page_mapcount(page); } static void free_zspage(struct page *first_page) |