Commit 7d22d92c authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Greg Kroah-Hartman

alpha: fix reboot on Avanti platform

commit 55fc633c 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: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 68d18e90
...@@ -143,7 +143,8 @@ struct pci_iommu_arena ...@@ -143,7 +143,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment