diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-02-12 19:46:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-13 16:20:35 +0100 |
commit | e85f20518bb928667508c22090c85d458e25a4f7 (patch) | |
tree | 97625e60d0901ec459d2ce245fcaaacf1bd84a4f /lib/locking-selftest-wlock-softirq.h | |
parent | x86: CPA: fix gbpages support in try_preserve_large_page (diff) | |
download | linux-e85f20518bb928667508c22090c85d458e25a4f7.tar.xz linux-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 'lib/locking-selftest-wlock-softirq.h')
0 files changed, 0 insertions, 0 deletions