From: Al Viro <v...@zeniv.linux.org.uk>

Signed-off-by: Al Viro <v...@zeniv.linux.org.uk>
---
 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(&page[i]);
 
-       free_pages((void *)c_addr, IA64_GRANULE_SHIFT-PAGE_SHIFT);
+       __free_pages(page, IA64_GRANULE_SHIFT-PAGE_SHIFT);
        mutex_unlock(&uc_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/

Reply via email to