summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 13:33:09 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:09 +0100
commit0d64484f7ea12ca04211b497e94634c3d27cf3fb (patch)
treeed1e7c545f36a498a86390abc5ffc01f17d6317a /drivers/firmware
parent306c142f99caef5a30a0d61a39a956c069941b63 (diff)
downloadop-kernel-dev-0d64484f7ea12ca04211b497e94634c3d27cf3fb.zip
op-kernel-dev-0d64484f7ea12ca04211b497e94634c3d27cf3fb.tar.gz
x86: fix DMI ioremap leak
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/dmi_scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c
index 0b24a11..5f9d0bc 100644
--- a/drivers/firmware/dmi_scan.c
+++ b/drivers/firmware/dmi_scan.c
@@ -349,6 +349,7 @@ void __init dmi_scan_machine(void)
rc = dmi_present(q);
if (!rc) {
dmi_available = 1;
+ dmi_iounmap(p, 0x10000);
return;
}
}
OpenPOWER on IntegriCloud