aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm/init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-01-31 21:34:34 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:11:28 -0500
commit9954863975910a1b9372b7d5006a6cba43bdd288 (patch)
tree0a6d088d67e0a75ed6a15590c9811e1d6fa75576 /arch/sparc64/mm/init.c
parent9bc657b28eba22e36efcdf3afa08100f92971eb4 (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.c3
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 */
389struct linux_prom_translation prom_trans[512] __read_mostly; 389struct linux_prom_translation prom_trans[512] __read_mostly;
390unsigned int prom_trans_ents __read_mostly; 390unsigned int prom_trans_ents __read_mostly;
391unsigned int swapper_pgd_zero __read_mostly;
392 391
393extern unsigned long prom_boot_page; 392extern unsigned long prom_boot_page;
394extern void prom_remap(unsigned long physpage, unsigned long virtpage, int mmu_ihandle); 393extern 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. */