summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/pgalloc.h
diff options
context:
space:
mode:
authorTrond Myklebust2008-03-19 22:59:44 +0100
committerTrond Myklebust2008-03-19 22:59:44 +0100
commitc7c350e92aab1bba68f26a6027b734adcf9824ba (patch)
treeaa99bd94c3049dd871d9c030d70a5f3d87591a95 /include/asm-parisc/pgalloc.h
parentNFS: fix encode_fsinfo_maxsz (diff)
parentnfs: don't ignore return value from nfs_pageio_add_request (diff)
downloadkernel-qcow2-linux-c7c350e92aab1bba68f26a6027b734adcf9824ba.tar.gz
kernel-qcow2-linux-c7c350e92aab1bba68f26a6027b734adcf9824ba.tar.xz
kernel-qcow2-linux-c7c350e92aab1bba68f26a6027b734adcf9824ba.zip
Merge branch 'hotfixes' into devel
Diffstat (limited to 'include/asm-parisc/pgalloc.h')
-rw-r--r--include/asm-parisc/pgalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-parisc/pgalloc.h b/include/asm-parisc/pgalloc.h
index 3996dfc30a3f..fc987a1c12a8 100644
--- a/include/asm-parisc/pgalloc.h
+++ b/include/asm-parisc/pgalloc.h
@@ -138,10 +138,10 @@ static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
free_page((unsigned long)pte);
}
-static inline void pte_free_kernel(struct mm_struct *mm, struct page *pte)
+static inline void pte_free(struct mm_struct *mm, struct page *pte)
{
pgtable_page_dtor(pte);
- pte_free_kernel(page_address((pte));
+ pte_free_kernel(mm, page_address(pte));
}
#define check_pgt_cache() do { } while (0)