diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-12 15:02:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 15:02:02 -0400 |
commit | 3d386c0ef60cf4810f6d5c62b637a8fb55ec9b2e (patch) | |
tree | 0e72d3205ead9b7d4c2deee90c553dc3b0477b13 /arch/sparc/mm | |
parent | 6066fc3dc40009b2d386b99dde223150055127ca (diff) |
sparc32: Un-btfixup PGDIR_{SHIFT,SIZE,MASK} {USER_,}PTRS_PER_{PGD,PMD}
Only one set of values exist, the SRMMU ones.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/srmmu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index cb18fa80b19c..38fcb83aaae9 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c | |||
@@ -1248,8 +1248,6 @@ static inline void map_kernel(void) | |||
1248 | for (i = 0; sp_banks[i].num_bytes != 0; i++) { | 1248 | for (i = 0; sp_banks[i].num_bytes != 0; i++) { |
1249 | map_spbank((unsigned long)__va(sp_banks[i].base_addr), i); | 1249 | map_spbank((unsigned long)__va(sp_banks[i].base_addr), i); |
1250 | } | 1250 | } |
1251 | |||
1252 | BTFIXUPSET_SIMM13(user_ptrs_per_pgd, PAGE_OFFSET / SRMMU_PGDIR_SIZE); | ||
1253 | } | 1251 | } |
1254 | 1252 | ||
1255 | /* Paging initialization on the Sparc Reference MMU. */ | 1253 | /* Paging initialization on the Sparc Reference MMU. */ |
@@ -2145,13 +2143,6 @@ void __init ld_mmu_srmmu(void) | |||
2145 | extern void ld_mmu_iounit(void); | 2143 | extern void ld_mmu_iounit(void); |
2146 | extern void ___xchg32_sun4md(void); | 2144 | extern void ___xchg32_sun4md(void); |
2147 | 2145 | ||
2148 | BTFIXUPSET_SIMM13(pgdir_shift, SRMMU_PGDIR_SHIFT); | ||
2149 | BTFIXUPSET_SETHI(pgdir_size, SRMMU_PGDIR_SIZE); | ||
2150 | BTFIXUPSET_SETHI(pgdir_mask, SRMMU_PGDIR_MASK); | ||
2151 | |||
2152 | BTFIXUPSET_SIMM13(ptrs_per_pmd, SRMMU_PTRS_PER_PMD); | ||
2153 | BTFIXUPSET_SIMM13(ptrs_per_pgd, SRMMU_PTRS_PER_PGD); | ||
2154 | |||
2155 | BTFIXUPSET_INT(page_none, pgprot_val(SRMMU_PAGE_NONE)); | 2146 | BTFIXUPSET_INT(page_none, pgprot_val(SRMMU_PAGE_NONE)); |
2156 | PAGE_SHARED = pgprot_val(SRMMU_PAGE_SHARED); | 2147 | PAGE_SHARED = pgprot_val(SRMMU_PAGE_SHARED); |
2157 | BTFIXUPSET_INT(page_copy, pgprot_val(SRMMU_PAGE_COPY)); | 2148 | BTFIXUPSET_INT(page_copy, pgprot_val(SRMMU_PAGE_COPY)); |