diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-04-26 11:43:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 10:57:33 -0700 |
commit | a53c46dc8253cc613ad66a2ca7aad6de8b7e61b9 (patch) | |
tree | 5b041cbe147597efb337525ad8260128cc8bc2b0 /kernel/module.c | |
parent | 075c1771526c85849ed22298d048bc07e400aee5 (diff) | |
download | op-kernel-dev-a53c46dc8253cc613ad66a2ca7aad6de8b7e61b9.zip op-kernel-dev-a53c46dc8253cc613ad66a2ca7aad6de8b7e61b9.tar.gz |
s2ram: add arch irq disable/enable hooks
After some more discussion this patch replaces it:
From: Johannes Berg <johannes@sipsolutions.net>
Subject: suspend: add arch irq disable/enable hooks
For powermac, we need to do some things between suspending devices and
device_power_off, for example setting the decrementer. This patch
allows architectures to define arch_s2ram_{en,dis}able_irqs in their
asm/suspend.h to have control over this step.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions