Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334329
b: refs/heads/master
c: f59a2d2
h: refs/heads/master
i:
  334327: 6c05006
v: v3
  • Loading branch information
David Daney authored and Ralf Baechle committed Oct 11, 2012
1 parent d6c454b commit 5207608
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7911a8fd16201a28110c99ecb3deed8aebb4fdc
refs/heads/master: f59a2d22a05272034e856b7a2dd7a3ab7864a2ae
20 changes: 10 additions & 10 deletions trunk/arch/mips/mm/pgtable-64.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ void pgd_init(unsigned long page)
p = (unsigned long *) page;
end = p + PTRS_PER_PGD;

while (p < end) {
do {
p[0] = entry;
p[1] = entry;
p[2] = entry;
p[3] = entry;
p[4] = entry;
p[5] = entry;
p[6] = entry;
p[7] = entry;
p += 8;
}
p[-3] = entry;
p[-2] = entry;
p[-1] = entry;
} while (p != end);
}

#ifndef __PAGETABLE_PMD_FOLDED
Expand All @@ -47,17 +47,17 @@ void pmd_init(unsigned long addr, unsigned long pagetable)
p = (unsigned long *) addr;
end = p + PTRS_PER_PMD;

while (p < end) {
do {
p[0] = pagetable;
p[1] = pagetable;
p[2] = pagetable;
p[3] = pagetable;
p[4] = pagetable;
p[5] = pagetable;
p[6] = pagetable;
p[7] = pagetable;
p += 8;
}
p[-3] = pagetable;
p[-2] = pagetable;
p[-1] = pagetable;
} while (p != end);
}
#endif

Expand Down

0 comments on commit 5207608

Please sign in to comment.