xref: /openbmc/linux/arch/powerpc/kernel/swsusp_64.c (revision 5d0e4d78)
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 #include <linux/nmi.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 }
26