OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bbed5
)
x86: fix uninitialized variable in init_memory_mapping()
author
Pekka Enberg
<penberg@cs.helsinki.fi>
Thu, 5 Mar 2009 15:04:26 +0000
(17:04 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 6 Mar 2009 14:25:52 +0000
(15:25 +0100)
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <
1236265466
.31324.9.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/init.c
b/arch/x86/mm/init.c
index
6d63e3d
..
15219e0
100644
(file)
--- a/
arch/x86/mm/init.c
+++ b/
arch/x86/mm/init.c
@@
-134,8
+134,8
@@
unsigned long __init_refok init_memory_mapping(unsigned long start,
{
unsigned long page_size_mask = 0;
unsigned long start_pfn, end_pfn;
+ unsigned long ret = 0;
unsigned long pos;
- unsigned long ret;
struct map_range mr[NR_RANGE_MR];
int nr_range, i;