Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108464
b: refs/heads/master
c: 627240a
h: refs/heads/master
v: v3
  • Loading branch information
Mikulas Patocka authored and Linus Torvalds committed Aug 15, 2008
1 parent 380bbd2 commit 7f5acc1
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b635acec48bcaa9183fcbf4e3955616b0d4119b5
refs/heads/master: 627240aaa92a4dc00d25584910b5f205e963747b
2 changes: 1 addition & 1 deletion trunk/mm/bootmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static void * __init alloc_bootmem_core(struct bootmem_data *bdata,
goto find_block;
}

if (bdata->last_end_off &&
if (bdata->last_end_off & (PAGE_SIZE - 1) &&
PFN_DOWN(bdata->last_end_off) + 1 == sidx)
start_off = ALIGN(bdata->last_end_off, align);
else
Expand Down

0 comments on commit 7f5acc1

Please sign in to comment.