x86/reboot/quirks: Add iMac10,1 to pci_reboot_dmi_table[]
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / reboot.c
index 02693dd9a0790b804a515294714d59ed68688ba8..f660d63f40feedbf33dd3a22246dfd7f4dbe88ba 100644 (file)
@@ -182,6 +182,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
                },
        },
+       {       /* Handle problems with rebooting on the iMac10,1. */
+               .callback = set_pci_reboot,
+               .ident = "Apple iMac10,1",
+               .matches = {
+                   DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+                   DMI_MATCH(DMI_PRODUCT_NAME, "iMac10,1"),
+               },
+       },
 
        /* ASRock */
        {       /* Handle problems with rebooting on ASRock Q1900DC-ITX */