xref: /linux/arch/powerpc/kernel/swsusp_64.c (revision 543b9fd3528f64c4b20439de0edb453764482de7)
1*543b9fd3SJohannes Berg /*
2*543b9fd3SJohannes Berg  * PowerPC 64-bit swsusp implementation
3*543b9fd3SJohannes Berg  *
4*543b9fd3SJohannes Berg  * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
5*543b9fd3SJohannes Berg  *
6*543b9fd3SJohannes Berg  * GPLv2
7*543b9fd3SJohannes Berg  */
8*543b9fd3SJohannes Berg 
9*543b9fd3SJohannes Berg #include <asm/system.h>
10*543b9fd3SJohannes Berg #include <asm/iommu.h>
11*543b9fd3SJohannes Berg #include <linux/irq.h>
12*543b9fd3SJohannes Berg #include <linux/interrupt.h>
13*543b9fd3SJohannes Berg 
14*543b9fd3SJohannes Berg void do_after_copyback(void)
15*543b9fd3SJohannes Berg {
16*543b9fd3SJohannes Berg 	iommu_restore();
17*543b9fd3SJohannes Berg 	touch_softlockup_watchdog();
18*543b9fd3SJohannes Berg 	mb();
19*543b9fd3SJohannes Berg }
20*543b9fd3SJohannes Berg 
21*543b9fd3SJohannes Berg void _iommu_save(void)
22*543b9fd3SJohannes Berg {
23*543b9fd3SJohannes Berg 	iommu_save();
24*543b9fd3SJohannes Berg }
25