aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/efi_64.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-02-12 19:46:48 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-13 16:20:35 +0100
commite85f20518bb928667508c22090c85d458e25a4f7 (patch)
tree97625e60d0901ec459d2ce245fcaaacf1bd84a4f /arch/x86/kernel/efi_64.c
parentx86: CPA: fix gbpages support in try_preserve_large_page (diff)
downloadlinux-dev-e85f20518bb928667508c22090c85d458e25a4f7.tar.xz
linux-dev-e85f20518bb928667508c22090c85d458e25a4f7.zip
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>
Diffstat (limited to 'arch/x86/kernel/efi_64.c')
0 files changed, 0 insertions, 0 deletions