diff options
| author | Paul Mackerras <paulus@samba.org> | 2002-05-25 18:19:01 +1000 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2002-05-25 18:19:01 +1000 |
| commit | 9625ab904d699a8bdac80a31a038375b14c30705 (patch) | |
| tree | ce0b952ff628d9e7489d11b593ef09204122e633 /include/asm-ppc/pgalloc.h | |
| parent | 85b59311a9eed85ec4af603539c942197ac6815b (diff) | |
PPC32: add definitions for fls(), pmd_free_tlb() and pte_free_tlb(),
now used in generic code.
Diffstat (limited to 'include/asm-ppc/pgalloc.h')
| -rw-r--r-- | include/asm-ppc/pgalloc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/pgalloc.h b/include/asm-ppc/pgalloc.h index 57b17f2480ae..a0ea3e813a59 100644 --- a/include/asm-ppc/pgalloc.h +++ b/include/asm-ppc/pgalloc.h @@ -20,6 +20,7 @@ extern void pgd_free(pgd_t *pgd); */ #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) #define pmd_free(x) do { } while (0) +#define pmd_free_tlb(tlb,x) do { } while (0) #define pgd_populate(mm, pmd, pte) BUG() #define pmd_populate_kernel(mm, pmd, pte) \ @@ -32,6 +33,8 @@ extern struct page *pte_alloc_one(struct mm_struct *mm, unsigned long addr); extern void pte_free_kernel(pte_t *pte); extern void pte_free(struct page *pte); +#define pte_free_tlb(tlb, pte) pte_free((pte)) + #define check_pgt_cache() do { } while (0) #endif /* _PPC_PGALLOC_H */ |
