aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/mm/pgtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/score/mm/pgtable.c')
-rw-r--r--arch/score/mm/pgtable.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/score/mm/pgtable.c b/arch/score/mm/pgtable.c
index 10b0962f83d4..6408bb73d3cc 100644
--- a/arch/score/mm/pgtable.c
+++ b/arch/score/mm/pgtable.c
@@ -47,14 +47,6 @@ void pgd_init(unsigned long page)
47 47
48void __init pagetable_init(void) 48void __init pagetable_init(void)
49{ 49{
50 unsigned long vaddr;
51 pgd_t *pgd_base;
52
53 /* Initialize the entire pgd. */ 50 /* Initialize the entire pgd. */
54 pgd_init((unsigned long) swapper_pg_dir); 51 pgd_init((unsigned long)swapper_pg_dir);
55 pgd_init((unsigned long) swapper_pg_dir
56 + sizeof(pgd_t) * USER_PTRS_PER_PGD);
57
58 pgd_base = swapper_pg_dir;
59 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK;
60} 52}