Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26853
b: refs/heads/master
c: 12783b0
h: refs/heads/master
i:
  26851: d6ee116
v: v3
  • Loading branch information
Mike Kravetz authored and Linus Torvalds committed May 21, 2006
1 parent af28250 commit 77b07f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: ad8f5797302ed389476debcc51b4630f387618b9
refs/heads/master: 12783b002db1f02c29353c8f698a85514420b9f4
7 changes: 2 additions & 5 deletions trunk/mm/sparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,8 @@ int __section_nr(struct mem_section* ms)
unsigned long root_nr;
struct mem_section* root;

for (root_nr = 0;
root_nr < NR_MEM_SECTIONS;
root_nr += SECTIONS_PER_ROOT) {
root = __nr_to_section(root_nr);

for (root_nr = 0; root_nr < NR_SECTION_ROOTS; root_nr++) {
root = __nr_to_section(root_nr * SECTIONS_PER_ROOT);
if (!root)
continue;

Expand Down

0 comments on commit 77b07f2

Please sign in to comment.