x86: left over fix for leak of early_ioremp in dmi_scan
authorYinghai Lu <[email protected]>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
committerIngo Molnar <[email protected]>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
Signed-off-by: Yinghai Lu <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
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");
 }