v2.4.2.6 -> v2.4.2.7
[linux-flexiantxendom0-3.2.10.git] / include / asm-i386 / pgalloc-2level.h
1 #ifndef _I386_PGALLOC_2LEVEL_H
2 #define _I386_PGALLOC_2LEVEL_H
3
4 /*
5  * traditional i386 two-level paging, page table allocation routines:
6  * We don't have any real pmd's, and this code never triggers because
7  * the pgd will always be present..
8  */
9 #define pmd_alloc_one_fast()            ({ BUG(); ((pmd_t *)1); })
10 #define pmd_alloc_one()                 ({ BUG(); ((pmd_t *)2); })
11 #define pmd_free_slow(x)                do { } while (0)
12 #define pmd_free_fast(x)                do { } while (0)
13 #define pmd_free(x)                     do { } while (0)
14 #define pgd_populate(pmd, pte)          BUG()
15
16 #endif /* _I386_PGALLOC_2LEVEL_H */