Skip to content

Commit

Permalink
[PARISC] unbreak pgalloc.h
Browse files Browse the repository at this point in the history
Commit 2f569af broke the compile
rather spectacularly. Fix code errors.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Kyle McMartin committed Mar 16, 2008
1 parent d912e1d commit 9aa150b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-parisc/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9aa150b

Please sign in to comment.