]> git.hungrycats.org Git - linux/commitdiff
[dmi] Ugh, fixup broken merge once and for all.
authorPatrick Mochel <mochel@osdl.org>
Thu, 21 Aug 2003 04:56:44 +0000 (21:56 -0700)
committerPatrick Mochel <mochel@osdl.org>
Thu, 21 Aug 2003 04:56:44 +0000 (21:56 -0700)
- Didn't realize that mount_root_failed_msg() had been removed, so it was
  accidentally merged back in. It's gone again now, as well as the entire
  (unused) dmi_dump_system() function.

arch/i386/kernel/dmi_scan.c

index a63a540753e92356db8192354bb675793bf773e5..e19e3bab3cf40ec077b099ea4eec69d61c72f10b 100644 (file)
@@ -162,23 +162,6 @@ enum
 
 static char *dmi_ident[DMI_STRING_MAX];
 
-#ifdef CONFIG_ACPI_BOOT
-
-/* print some information suitable for a blacklist entry. */
-static void dmi_dump_system(void)
-{ 
-       printk("DMI: BIOS: %.40s, %.40s, %.40s\n",
-              dmi_ident[DMI_BIOS_VENDOR], dmi_ident[DMI_BIOS_VERSION],
-              dmi_ident[DMI_BIOS_DATE]);
-       printk("DMI: System: %.40s, %.40s, %.40s\n",
-              dmi_ident[DMI_SYS_VENDOR], dmi_ident[DMI_PRODUCT_NAME],
-              dmi_ident[DMI_PRODUCT_VERSION]); 
-       printk("DMI: Board: %.40s, %.40s, %.40s\n",
-              dmi_ident[DMI_BOARD_VENDOR], dmi_ident[DMI_BOARD_NAME],
-              dmi_ident[DMI_BOARD_VERSION]); 
-} 
-
-#endif
 /*
  *     Save a DMI string
  */
@@ -1119,27 +1102,3 @@ void __init dmi_scan_machine(void)
 }
 
 EXPORT_SYMBOL(is_unsafe_smbus);
-
-#ifdef CONFIG_MOUNT_ROOT_FAILED_MSG
-/*
- * mount_root_failed_msg()
- *
- * Called from mount_block_root() upon failure to mount root.
- * architecture dependent to give different platforms
- * the opportunity to print different handy messages
- * On x86 this lives here b/c it dumps out some DMI info.
- */
-
-void
-mount_root_failed_msg(void)
-{
-#ifdef CONFIG_ACPI_BOOT
-       printk ("Try booting with pci=noacpi, acpi=ht, "
-               "or acpi=off on the command line.\n");
-       printk ("If one helps, please report the following lines:\n");
-
-       dmi_dump_system();
-#endif
-}
-#endif /* CONFIG_MOUNT_ROOT_FAILED_MSG */
-