diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-01-02 13:59:54 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-01-20 20:01:10 -0500 |
commit | 55fc633c41a08ce9244ff5f528f420b16b1e04d6 (patch) | |
tree | 5e2971d6401530f9ecebfb52057441b596ff1d9b | |
parent | 797cfc4f714a13e33729859fb671cfd8b4131abc (diff) |
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>
-rw-r--r-- | arch/alpha/kernel/pci_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/alpha/kernel/pci_impl.h b/arch/alpha/kernel/pci_impl.h index 2e4cb74fdc41..18043af45e2b 100644 --- a/arch/alpha/kernel/pci_impl.h +++ b/arch/alpha/kernel/pci_impl.h | |||
@@ -144,7 +144,8 @@ struct pci_iommu_arena | |||
144 | }; | 144 | }; |
145 | 145 | ||
146 | #if defined(CONFIG_ALPHA_SRM) && \ | 146 | #if defined(CONFIG_ALPHA_SRM) && \ |
147 | (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA)) | 147 | (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA) || \ |
148 | defined(CONFIG_ALPHA_AVANTI)) | ||
148 | # define NEED_SRM_SAVE_RESTORE | 149 | # define NEED_SRM_SAVE_RESTORE |
149 | #else | 150 | #else |
150 | # undef NEED_SRM_SAVE_RESTORE | 151 | # undef NEED_SRM_SAVE_RESTORE |