x86: fix DMI ioremap leak
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
306c142f99
commit
0d64484f7e
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue