mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
543b9fd352
Powermac G5 suspend to disk implementation. The code is platform agnostic but only tested on powermac, no other 64-bit powerpc machines. Because nvidiafb still breaks suspend I have marked it EXPERIMENTAL on powermac and because I can't test it and some lowlevel code will need changes it is BROKEN on all other 64-bit platforms. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
25 lines
354 B
C
25 lines
354 B
C
/*
|
|
* PowerPC 64-bit swsusp implementation
|
|
*
|
|
* Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
|
|
*
|
|
* GPLv2
|
|
*/
|
|
|
|
#include <asm/system.h>
|
|
#include <asm/iommu.h>
|
|
#include <linux/irq.h>
|
|
#include <linux/interrupt.h>
|
|
|
|
void do_after_copyback(void)
|
|
{
|
|
iommu_restore();
|
|
touch_softlockup_watchdog();
|
|
mb();
|
|
}
|
|
|
|
void _iommu_save(void)
|
|
{
|
|
iommu_save();
|
|
}
|