]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
alpha: fix reboot on Avanti platform
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 2 Jan 2018 18:59:54 +0000 (13:59 -0500)
committerMatt Turner <mattst88@gmail.com>
Sun, 21 Jan 2018 01:01:10 +0000 (17:01 -0800)
We need to define NEED_SRM_SAVE_RESTORE on the Avanti, otherwise we get
machine check exception when attempting to reboot the machine.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/pci_impl.h

index 2e4cb74fdc416b94a776b0f6982f266bebcff47b..18043af45e2b9148c7c94ab7b352e7dc4d586fab 100644 (file)
@@ -144,7 +144,8 @@ struct pci_iommu_arena
 };
 
 #if defined(CONFIG_ALPHA_SRM) && \
-    (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA))
+    (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA) || \
+     defined(CONFIG_ALPHA_AVANTI))
 # define NEED_SRM_SAVE_RESTORE
 #else
 # undef NEED_SRM_SAVE_RESTORE