x86: Add support for kernel 4.14
[openwrt/openwrt.git] / target / linux / x86 / patches-4.14 / 200-pcengines-apu2-reboot.patch
diff --git a/target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch b/target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch
new file mode 100644 (file)
index 0000000..048dfae
--- /dev/null
@@ -0,0 +1,19 @@
+--- a/arch/x86/kernel/reboot.c
++++ b/arch/x86/kernel/reboot.c
+@@ -448,6 +448,16 @@ static const struct dmi_system_id reboot
+               },
+       },
++      /* PC Engines */
++      {       /* Handle problems with rebooting on PC Engines apu2 */
++              .callback = set_pci_reboot,
++              .ident = "PC Engines apu2",
++              .matches = {
++                      DMI_MATCH(DMI_BOARD_VENDOR, "PC Engines"),
++                      DMI_MATCH(DMI_BOARD_NAME, "apu2"),
++              },
++      },
++
+       /* Sony */
+       {       /* Handle problems with rebooting on Sony VGN-Z540N */
+               .callback = set_bios_reboot,