]> err.no Git - linux-2.6/commitdiff
x86: left over fix for leak of early_ioremp in dmi_scan
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
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 5f9d0bc839ba2d75095bc7fc943f101b81cb3d64..9008ed5ef4ce2e384b41c591cdc7c629a08af324 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");
 }