x86: fix DMI ioremap leak
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:09 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:09 +0000 (13:33 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/firmware/dmi_scan.c

index 0b24a114100951a53f0e4b8094ceb5798e44a26e..5f9d0bc839ba2d75095bc7fc943f101b81cb3d64 100644 (file)
@@ -349,6 +349,7 @@ void __init dmi_scan_machine(void)
                        rc = dmi_present(q);
                        if (!rc) {
                                dmi_available = 1;
+                               dmi_iounmap(p, 0x10000);
                                return;
                        }
                }