diff options
Diffstat (limited to 'arch/mips/mm/pgtable-64.c')
-rw-r--r-- | arch/mips/mm/pgtable-64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/pgtable-64.c b/arch/mips/mm/pgtable-64.c index ee331bbd8f8a..e8adc0069d66 100644 --- a/arch/mips/mm/pgtable-64.c +++ b/arch/mips/mm/pgtable-64.c | |||
@@ -24,7 +24,7 @@ void pgd_init(unsigned long page) | |||
24 | entry = (unsigned long)invalid_pmd_table; | 24 | entry = (unsigned long)invalid_pmd_table; |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | p = (unsigned long *) page; | 27 | p = (unsigned long *) page; |
28 | end = p + PTRS_PER_PGD; | 28 | end = p + PTRS_PER_PGD; |
29 | 29 | ||
30 | do { | 30 | do { |
@@ -45,7 +45,7 @@ void pmd_init(unsigned long addr, unsigned long pagetable) | |||
45 | { | 45 | { |
46 | unsigned long *p, *end; | 46 | unsigned long *p, *end; |
47 | 47 | ||
48 | p = (unsigned long *) addr; | 48 | p = (unsigned long *) addr; |
49 | end = p + PTRS_PER_PMD; | 49 | end = p + PTRS_PER_PMD; |
50 | 50 | ||
51 | do { | 51 | do { |