Skip to content

Commit

Permalink
alpha: fix reboot on Avanti platform
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
Mikulas Patocka authored and mattst88 committed Jan 21, 2018
1 parent 797cfc4 commit 55fc633
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/alpha/kernel/pci_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55fc633

Please sign in to comment.