瀏覽代碼

alpha: fix reboot on Avanti platform

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>
Mikulas Patocka 7 年之前
父節點
當前提交
55fc633c41
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      arch/alpha/kernel/pci_impl.h

+ 2 - 1
arch/alpha/kernel/pci_impl.h

@@ -144,7 +144,8 @@ struct pci_iommu_arena
 };
 };
 
 
 #if defined(CONFIG_ALPHA_SRM) && \
 #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
 # define NEED_SRM_SAVE_RESTORE
 #else
 #else
 # undef NEED_SRM_SAVE_RESTORE
 # undef NEED_SRM_SAVE_RESTORE