[POC][PATCH 47/83] ia64: uncached_add_chunk(): switch to __free_pages()

2015-12-21 Thread Al Viro
From: Al Viro 

Signed-off-by: Al Viro 
---
 arch/ia64/kernel/uncached.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/ia64/kernel/uncached.c b/arch/ia64/kernel/uncached.c
index 9b90526..35494cc 100644
--- a/arch/ia64/kernel/uncached.c
+++ b/arch/ia64/kernel/uncached.c
@@ -166,7 +166,7 @@ failed:
for (i = 0; i < (IA64_GRANULE_SIZE / PAGE_SIZE); i++)
ClearPageUncached([i]);
 
-   free_pages((void *)c_addr, IA64_GRANULE_SHIFT-PAGE_SHIFT);
+   __free_pages(page, IA64_GRANULE_SHIFT-PAGE_SHIFT);
mutex_unlock(_pool->add_chunk_mutex);
return -1;
 }
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[POC][PATCH 47/83] ia64: uncached_add_chunk(): switch to __free_pages()

2015-12-21 Thread Al Viro
From: Al Viro 

Signed-off-by: Al Viro 
---
 arch/ia64/kernel/uncached.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/ia64/kernel/uncached.c b/arch/ia64/kernel/uncached.c
index 9b90526..35494cc 100644
--- a/arch/ia64/kernel/uncached.c
+++ b/arch/ia64/kernel/uncached.c
@@ -166,7 +166,7 @@ failed:
for (i = 0; i < (IA64_GRANULE_SIZE / PAGE_SIZE); i++)
ClearPageUncached([i]);
 
-   free_pages((void *)c_addr, IA64_GRANULE_SHIFT-PAGE_SHIFT);
+   __free_pages(page, IA64_GRANULE_SHIFT-PAGE_SHIFT);
mutex_unlock(_pool->add_chunk_mutex);
return -1;
 }
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/