Thomas Gleixner e85f20518b 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 <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-13 16:20:35 +01:00
..
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-11 13:23:46 -08:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 18:24:41 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00