Thomas Gleixner | 7f904d7 | 2019-06-04 10:11:38 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 2 | /* |
| 3 | * PowerPC 64-bit swsusp implementation |
| 4 | * |
| 5 | * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> |
Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 6 | */ |
| 7 | |
Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 8 | #include <asm/iommu.h> |
| 9 | #include <linux/irq.h> |
Paul Gortmaker | 62fe91b | 2011-05-27 14:25:11 -0400 | [diff] [blame] | 10 | #include <linux/sched.h> |
Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 11 | #include <linux/interrupt.h> |
Ingo Molnar | 38b8d20 | 2017-02-08 18:51:31 +0100 | [diff] [blame] | 12 | #include <linux/nmi.h> |
Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 13 | |
| 14 | void do_after_copyback(void) |
| 15 | { |
| 16 | iommu_restore(); |
| 17 | touch_softlockup_watchdog(); |
| 18 | mb(); |
| 19 | } |