Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21543
b: refs/heads/master
c: f7c0033
h: refs/heads/master
i:
  21541: cc06626
  21539: fff09ec
  21535: 09dbbf1
v: v3
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 01ef6b4 commit b4c0469
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 74ae998772041b62e9ad420d602e4f7dbb182cd6
refs/heads/master: f7c00338cfeef125032aa12aa8ebeacf9e117e81
5 changes: 4 additions & 1 deletion trunk/arch/sparc64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -973,12 +973,15 @@ static void __init mark_kpte_bitmap(unsigned long start, unsigned long end)
while (start < end) {
long remains;

remains = end - start;
if (remains < size_256MB)
break;

if (start & mask_256MB) {
start = (start + size_256MB) & ~mask_256MB;
continue;
}

remains = end - start;
while (remains >= size_256MB) {
unsigned long index = start >> shift_256MB;

Expand Down

0 comments on commit b4c0469

Please sign in to comment.