Commit 99548639 authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[SPARC64]: Kill swapper_pgd_zero, totally unused.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9bc657b2
...@@ -388,7 +388,6 @@ struct linux_prom_translation { ...@@ -388,7 +388,6 @@ struct linux_prom_translation {
/* Exported for kernel TLB miss handling in ktlb.S */ /* Exported for kernel TLB miss handling in ktlb.S */
struct linux_prom_translation prom_trans[512] __read_mostly; struct linux_prom_translation prom_trans[512] __read_mostly;
unsigned int prom_trans_ents __read_mostly; unsigned int prom_trans_ents __read_mostly;
unsigned int swapper_pgd_zero __read_mostly;
extern unsigned long prom_boot_page; extern unsigned long prom_boot_page;
extern void prom_remap(unsigned long physpage, unsigned long virtpage, int mmu_ihandle); extern void prom_remap(unsigned long physpage, unsigned long virtpage, int mmu_ihandle);
...@@ -1088,8 +1087,6 @@ void __init paging_init(void) ...@@ -1088,8 +1087,6 @@ void __init paging_init(void)
pud_set(pud_offset(&swapper_pg_dir[0], 0), pud_set(pud_offset(&swapper_pg_dir[0], 0),
swapper_low_pmd_dir + (shift / sizeof(pgd_t))); swapper_low_pmd_dir + (shift / sizeof(pgd_t)));
swapper_pgd_zero = pgd_val(swapper_pg_dir[0]);
inherit_prom_mappings(); inherit_prom_mappings();
/* Ok, we can use our TLB miss and window trap handlers safely. */ /* Ok, we can use our TLB miss and window trap handlers safely. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment