| 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 |  | 
| Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 9 | #include <asm/iommu.h> | 
 | 10 | #include <linux/irq.h> | 
| Paul Gortmaker | 62fe91b | 2011-05-27 14:25:11 -0400 | [diff] [blame] | 11 | #include <linux/sched.h> | 
| Johannes Berg | 543b9fd | 2007-05-03 22:31:38 +1000 | [diff] [blame] | 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 | } |