Fix IP22 timer calibration.
[linux-2.6/linux-mips.git] / include / asm-arm / pgalloc.h
blob81a7eccf2991aad1497aa9850a4bf864d45fea16
1 /*
2 * linux/include/asm-arm/pgalloc.h
4 * Copyright (C) 2000-2001 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef _ASMARM_PGALLOC_H
11 #define _ASMARM_PGALLOC_H
13 #include <asm/processor.h>
14 #include <asm/proc/pgalloc.h>
17 * Since we have only two-level page tables, these are trivial
19 #define pmd_alloc_one(mm,addr) ({ BUG(); ((pmd_t *)2); })
20 #define pmd_free(pmd) do { } while (0)
21 #define pgd_populate(mm,pmd,pte) BUG()
23 extern pgd_t *get_pgd_slow(struct mm_struct *mm);
24 extern void free_pgd_slow(pgd_t *pgd);
26 #define pgd_alloc(mm) get_pgd_slow(mm)
27 #define pgd_free(pgd) free_pgd_slow(pgd)
29 #define check_pgt_cache() do { } while (0)
31 #endif