diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-01-02 21:59:54 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-06-01 02:30:09 +0300 |
commit | 33d0141f9db7664a04bfb17a576867c0122f226a (patch) | |
tree | 85c0ca053f600e47ef890589717f9d32ca728a4f | |
parent | b33d9e10f27273765c81fbf0b918703e30ef9537 (diff) | |
download | linux-33d0141f9db7664a04bfb17a576867c0122f226a.tar.xz |
alpha: fix reboot on Avanti platform
commit 55fc633c41a08ce9244ff5f528f420b16b1e04d6 upstream.
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>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-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 85457b2d4516..cc742131a88b 100644 --- a/arch/alpha/kernel/pci_impl.h +++ b/arch/alpha/kernel/pci_impl.h @@ -143,7 +143,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 |