x86: left over fix for leak of early_ioremp in dmi_scan
Yinghai Lu [Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)]
Signed-off-by: Yinghai Lu <yinghai@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

drivers/firmware/dmi_scan.c

index 5f9d0bc..9008ed5 100644 (file)
@@ -353,6 +353,7 @@ void __init dmi_scan_machine(void)
                                return;
                        }
                }
+               dmi_iounmap(p, 0x10000);
        }
  out:  printk(KERN_INFO "DMI not present or invalid.\n");
 }