Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | /* |
2 | * PowerPC 64-bit swsusp implementation | ||||
3 | * | ||||
4 | * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> | ||||
5 | * | ||||
6 | * GPLv2 | ||||
7 | */ | ||||
8 | |||||
9 | #include <asm/iommu.h> | ||||
10 | #include <linux/irq.h> | ||||
11 | #include <linux/sched.h> | ||||
12 | #include <linux/interrupt.h> | ||||
13 | |||||
14 | void do_after_copyback(void) | ||||
15 | { | ||||
16 | iommu_restore(); | ||||
17 | touch_softlockup_watchdog(); | ||||
18 | mb(); | ||||
19 | } | ||||
20 | |||||
21 | void _iommu_save(void) | ||||
22 | { | ||||
23 | iommu_save(); | ||||
24 | } |