Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] x86_64: Fix gcc 4 warning in aperture.c

Fix

arch/x86_64/kernel/aperture.c: In function #iommu_hole_init#:
arch/x86_64/kernel/aperture.c:199: warning: #aper_order# may be used uninitialized in this function

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andi Kleen and committed by
Linus Torvalds
50895c5d f5f786d0

+1 -1
+1 -1
arch/x86_64/kernel/aperture.c
··· 196 196 void __init iommu_hole_init(void) 197 197 { 198 198 int fix, num; 199 - u32 aper_size, aper_alloc = 0, aper_order, last_aper_order = 0; 199 + u32 aper_size, aper_alloc = 0, aper_order = 0, last_aper_order = 0; 200 200 u64 aper_base, last_aper_base = 0; 201 201 int valid_agp = 0; 202 202