1543b9fd3SJohannes Berg /* 2543b9fd3SJohannes Berg * PowerPC 64-bit swsusp implementation 3543b9fd3SJohannes Berg * 4543b9fd3SJohannes Berg * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5543b9fd3SJohannes Berg * 6543b9fd3SJohannes Berg * GPLv2 7543b9fd3SJohannes Berg */ 8543b9fd3SJohannes Berg 9543b9fd3SJohannes Berg #include <asm/system.h> 10543b9fd3SJohannes Berg #include <asm/iommu.h> 11543b9fd3SJohannes Berg #include <linux/irq.h> 12*62fe91bbSPaul Gortmaker #include <linux/sched.h> 13543b9fd3SJohannes Berg #include <linux/interrupt.h> 14543b9fd3SJohannes Berg 15543b9fd3SJohannes Berg void do_after_copyback(void) 16543b9fd3SJohannes Berg { 17543b9fd3SJohannes Berg iommu_restore(); 18543b9fd3SJohannes Berg touch_softlockup_watchdog(); 19543b9fd3SJohannes Berg mb(); 20543b9fd3SJohannes Berg } 21543b9fd3SJohannes Berg 22543b9fd3SJohannes Berg void _iommu_save(void) 23543b9fd3SJohannes Berg { 24543b9fd3SJohannes Berg iommu_save(); 25543b9fd3SJohannes Berg } 26