summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2018-01-02 13:59:54 -0500
committerMatt Turner <mattst88@gmail.com>2018-01-20 17:01:10 -0800
commit55fc633c41a08ce9244ff5f528f420b16b1e04d6 (patch)
tree5e2971d6401530f9ecebfb52057441b596ff1d9b /arch/alpha
parent797cfc4f714a13e33729859fb671cfd8b4131abc (diff)
downloadop-kernel-dev-55fc633c41a08ce9244ff5f528f420b16b1e04d6.zip
op-kernel-dev-55fc633c41a08ce9244ff5f528f420b16b1e04d6.tar.gz
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>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/pci_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/alpha/kernel/pci_impl.h b/arch/alpha/kernel/pci_impl.h
index 2e4cb74..18043af 100644
--- a/arch/alpha/kernel/pci_impl.h
+++ b/arch/alpha/kernel/pci_impl.h
@@ -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
OpenPOWER on IntegriCloud