From: Thomas Gleixner Date: Tue, 12 Feb 2008 18:46:48 +0000 (+0100) Subject: x86: EFI: fix use of unitialized variable and the cache logic X-Git-Tag: v2.6.25-rc2~74^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85f20518bb928667508c22090c85d458e25a4f7;p=pandora-kernel.git x86: EFI: fix use of unitialized variable and the cache logic Andi Kleen pointed out that the cache attribute logic is reverse in efi_enter_virtual_mode(). This problem alone is harmless as we do not (yet) do cache attribute conflict resolution. (This bug was not present in the original EFI submission - I introduced it while fixing up rejects.) While reviewing this code I noticed a second, worse problem: the use of uninitialized md->virt_addr. Fix both problems. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed