diff options
author | David S. Miller <davem@davemloft.net> | 2006-01-31 21:34:34 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:28 -0500 |
commit | 9954863975910a1b9372b7d5006a6cba43bdd288 (patch) | |
tree | 0a6d088d67e0a75ed6a15590c9811e1d6fa75576 /arch/sparc64/mm/init.c | |
parent | 9bc657b28eba22e36efcdf3afa08100f92971eb4 (diff) |
[SPARC64]: Kill swapper_pgd_zero, totally unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r-- | arch/sparc64/mm/init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 20e7af552ce4..2c21d85de78f 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -388,7 +388,6 @@ struct linux_prom_translation { | |||
388 | /* Exported for kernel TLB miss handling in ktlb.S */ | 388 | /* Exported for kernel TLB miss handling in ktlb.S */ |
389 | struct linux_prom_translation prom_trans[512] __read_mostly; | 389 | struct linux_prom_translation prom_trans[512] __read_mostly; |
390 | unsigned int prom_trans_ents __read_mostly; | 390 | unsigned int prom_trans_ents __read_mostly; |
391 | unsigned int swapper_pgd_zero __read_mostly; | ||
392 | 391 | ||
393 | extern unsigned long prom_boot_page; | 392 | extern unsigned long prom_boot_page; |
394 | extern void prom_remap(unsigned long physpage, unsigned long virtpage, int mmu_ihandle); | 393 | extern void prom_remap(unsigned long physpage, unsigned long virtpage, int mmu_ihandle); |
@@ -1088,8 +1087,6 @@ void __init paging_init(void) | |||
1088 | pud_set(pud_offset(&swapper_pg_dir[0], 0), | 1087 | pud_set(pud_offset(&swapper_pg_dir[0], 0), |
1089 | swapper_low_pmd_dir + (shift / sizeof(pgd_t))); | 1088 | swapper_low_pmd_dir + (shift / sizeof(pgd_t))); |
1090 | 1089 | ||
1091 | swapper_pgd_zero = pgd_val(swapper_pg_dir[0]); | ||
1092 | |||
1093 | inherit_prom_mappings(); | 1090 | inherit_prom_mappings(); |
1094 | 1091 | ||
1095 | /* Ok, we can use our TLB miss and window trap handlers safely. */ | 1092 | /* Ok, we can use our TLB miss and window trap handlers safely. */ |