diff options
Diffstat (limited to 'mm/bootmem.c')
-rw-r--r-- | mm/bootmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c index 0131170c9d54..67872fca97d9 100644 --- a/mm/bootmem.c +++ b/mm/bootmem.c | |||
@@ -203,6 +203,7 @@ static unsigned long __init free_all_bootmem_core(bootmem_data_t *bdata) | |||
203 | } else { | 203 | } else { |
204 | unsigned long off = 0; | 204 | unsigned long off = 0; |
205 | 205 | ||
206 | vec >>= start & (BITS_PER_LONG - 1); | ||
206 | while (vec && off < BITS_PER_LONG) { | 207 | while (vec && off < BITS_PER_LONG) { |
207 | if (vec & 1) { | 208 | if (vec & 1) { |
208 | page = pfn_to_page(start + off); | 209 | page = pfn_to_page(start + off); |