Commit 0d64484f authored by Ingo Molnar's avatar Ingo Molnar

x86: fix DMI ioremap leak

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 306c142f
...@@ -349,6 +349,7 @@ void __init dmi_scan_machine(void) ...@@ -349,6 +349,7 @@ void __init dmi_scan_machine(void)
rc = dmi_present(q); rc = dmi_present(q);
if (!rc) { if (!rc) {
dmi_available = 1; dmi_available = 1;
dmi_iounmap(p, 0x10000);
return; return;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment