aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 07:33:09 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:09 -0500
commit0d64484f7ea12ca04211b497e94634c3d27cf3fb (patch)
treeed1e7c545f36a498a86390abc5ffc01f17d6317a
parent306c142f99caef5a30a0d61a39a956c069941b63 (diff)
x86: fix DMI ioremap leak
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-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 0b24a1141009..5f9d0bc839ba 100644
--- a/drivers/firmware/dmi_scan.c
+++ b/drivers/firmware/dmi_scan.c
@@ -349,6 +349,7 @@ void __init dmi_scan_machine(void)
349 rc = dmi_present(q); 349 rc = dmi_present(q);
350 if (!rc) { 350 if (!rc) {
351 dmi_available = 1; 351 dmi_available = 1;
352 dmi_iounmap(p, 0x10000);
352 return; 353 return;
353 } 354 }
354 } 355 }