Commit c77a3b59 authored by Pekka Enberg's avatar Pekka Enberg Committed by Ingo Molnar

x86: fix uninitialized variable in init_memory_mapping()

Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1236265466.31324.9.camel@penberg-laptop>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 31bbed52
...@@ -134,8 +134,8 @@ unsigned long __init_refok init_memory_mapping(unsigned long start, ...@@ -134,8 +134,8 @@ unsigned long __init_refok init_memory_mapping(unsigned long start,
{ {
unsigned long page_size_mask = 0; unsigned long page_size_mask = 0;
unsigned long start_pfn, end_pfn; unsigned long start_pfn, end_pfn;
unsigned long ret = 0;
unsigned long pos; unsigned long pos;
unsigned long ret;
struct map_range mr[NR_RANGE_MR]; struct map_range mr[NR_RANGE_MR];
int nr_range, i; int nr_range, i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment