diff options
| author | Pete Zaitcev <zaitcev@redhat.com> | 2002-08-11 03:56:43 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2002-08-11 03:56:43 -0700 |
| commit | 15c5cc6e25884d9fd528c93ddee8c05bccdebdb1 (patch) | |
| tree | 0ea42cd81296b9016af33ccbf48d6cc56d4758dd /include/asm-sparc/pgalloc.h | |
| parent | 80e4e144134505f07319b4f6f1eef275f369912c (diff) | |
SPARC: More work to get sparc32 working in 2.5.x
- page-size PTE directory with 16-word pmd_t as suggested by RMK and Riel
- support for 2.5.x softirq infrastructure
- other miscellanea
Diffstat (limited to 'include/asm-sparc/pgalloc.h')
| -rw-r--r-- | include/asm-sparc/pgalloc.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/asm-sparc/pgalloc.h b/include/asm-sparc/pgalloc.h index 4a8b93251dcf..09c9decddbc4 100644 --- a/include/asm-sparc/pgalloc.h +++ b/include/asm-sparc/pgalloc.h @@ -40,13 +40,8 @@ BTFIXUPDEF_CALL(void, pgd_set, pgd_t *, pmd_t *) #define pgd_set(pgdp,pmdp) BTFIXUP_CALL(pgd_set)(pgdp,pmdp) #define pgd_populate(MM, PGD, PMD) pgd_set(PGD, PMD) -static __inline__ pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) -{ - return 0; -} - -BTFIXUPDEF_CALL(pmd_t *, pmd_alloc_one_fast, struct mm_struct *, unsigned long) -#define pmd_alloc_one_fast(mm, address) BTFIXUP_CALL(pmd_alloc_one_fast)(mm, address) +BTFIXUPDEF_CALL(pmd_t *, pmd_alloc_one, struct mm_struct *, unsigned long) +#define pmd_alloc_one(mm, address) BTFIXUP_CALL(pmd_alloc_one)(mm, address) BTFIXUPDEF_CALL(void, free_pmd_fast, pmd_t *) #define free_pmd_fast(pmd) BTFIXUP_CALL(free_pmd_fast)(pmd) @@ -65,8 +60,7 @@ BTFIXUPDEF_CALL(pte_t *, pte_alloc_one_kernel, struct mm_struct *, unsigned long #define pte_alloc_one_kernel(mm, addr) BTFIXUP_CALL(pte_alloc_one_kernel)(mm, addr) BTFIXUPDEF_CALL(void, free_pte_fast, pte_t *) -#define free_pte_fast(pte) BTFIXUP_CALL(free_pte_fast)(pte) -#define pte_free_kernel(pte) free_pte_fast(pte) +#define pte_free_kernel(pte) BTFIXUP_CALL(free_pte_fast)(pte) BTFIXUPDEF_CALL(void, pte_free, struct page *) #define pte_free(pte) BTFIXUP_CALL(pte_free)(pte) |
