mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
6062d85892
Fixes: - CVE-2020-10757 The "mtd: rawnand: Pass a nand_chip object to nand_release()" commit was backported which needed some adaptations to other code. Run tested: ath79 Build tested: ath79 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
20 lines
497 B
Diff
20 lines
497 B
Diff
--- a/arch/x86/kernel/reboot.c
|
|
+++ b/arch/x86/kernel/reboot.c
|
|
@@ -477,6 +477,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,
|