Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [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/system.h> |
| 10 | #include <asm/iommu.h> |
| 11 | #include <linux/irq.h> |
Paul Gortmaker | 62fe91b | 2011-05-27 14:25:11 -0400 | [diff] [blame] | 12 | #include <linux/sched.h> |
Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 13 | #include <linux/interrupt.h> |
| 14 | |
| 15 | void do_after_copyback(void) |
| 16 | { |
| 17 | iommu_restore(); |
| 18 | touch_softlockup_watchdog(); |
| 19 | mb(); |
| 20 | } |
| 21 | |
| 22 | void _iommu_save(void) |
| 23 | { |
| 24 | iommu_save(); |
| 25 | } |