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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue