Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320861
b: refs/heads/master
c: db36a46
h: refs/heads/master
i:
  320859: df02c3c
v: v3
  • Loading branch information
Gavin Shan authored and Linus Torvalds committed Aug 1, 2012
1 parent b683230 commit 989debc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b760e64a64c8940cdccd0ba6fce19a9bd010d20
refs/heads/master: db36a46113e101a8aa2d6ede41e78f2eaabed3f1
2 changes: 2 additions & 0 deletions trunk/mm/sparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ int __section_nr(struct mem_section* ms)
break;
}

VM_BUG_ON(root_nr == NR_SECTION_ROOTS);

return (root_nr * SECTIONS_PER_ROOT) + (ms - root);
}

Expand Down

0 comments on commit 989debc

Please sign in to comment.