1 #ifndef __ASM_SH_PGALLOC_2LEVEL_H
2 #define __ASM_SH_PGALLOC_2LEVEL_H
3
4 /*
5 * traditional two-level paging, page table allocation routines:
6 */
7
8 static __inline__ pmd_t *get_pmd_fast(void)
9 {
10 return (pmd_t *)0;
11 }
12
13 static __inline__ void free_pmd_fast(pmd_t *pmd) { }
14 static __inline__ void free_pmd_slow(pmd_t *pmd) { }
15
16 static __inline__ pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
17 {
18 if (!pgd)
19 BUG();
20 return (pmd_t *) pgd;
21 }
22
23 #endif /* __ASM_SH_PGALLOC_2LEVEL_H */
24
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.