diff options
author | Kyle McMartin <kyle@shortfin.cabal.ca> | 2008-02-18 14:16:26 -0800 |
---|---|---|
committer | Kyle McMartin <kyle@shortfin.cabal.ca> | 2008-03-15 19:11:52 -0700 |
commit | 9aa150b8d8af2532b6ce9ea36374cb997ac55807 (patch) | |
tree | 20e3ac88004eec7158b0940b30ecffd42bea27c9 /include | |
parent | d912e1dc8bb5718c3603beb43d0770dac0271374 (diff) | |
download | linux-3.10-9aa150b8d8af2532b6ce9ea36374cb997ac55807.tar.gz linux-3.10-9aa150b8d8af2532b6ce9ea36374cb997ac55807.tar.bz2 linux-3.10-9aa150b8d8af2532b6ce9ea36374cb997ac55807.zip |
[PARISC] unbreak pgalloc.h
Commit 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4 broke the compile
rather spectacularly. Fix code errors.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-parisc/pgalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-parisc/pgalloc.h b/include/asm-parisc/pgalloc.h index 3996dfc30a3..fc987a1c12a 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) |