[PATCH] fix comment for ppc_md enable/disable irq hooks
Johannes Berg
johannes at sipsolutions.net
Fri Feb 1 04:12:21 EST 2008
When committing the patch "Implement arch disable/enable irq hooks" in
commit 7ac5dde99eb9fefdb526973c600075b7c5703a86 you changed the code to
always call the generic decrementer/interrupt enabling/disabling but
forgot to update the comment, this fixes that.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
---
include/asm/machdep.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--- linux-2.6-git.orig/include/asm/machdep.h 2008-01-31 18:02:54.113774156 +0100
+++ linux-2.6-git/include/asm/machdep.h 2008-01-31 18:04:18.125023706 +0100
@@ -253,10 +253,11 @@ struct machdep_calls {
#endif /* CONFIG_KEXEC */
#ifdef CONFIG_SUSPEND
- /* These are called to disable and enable, respectively, IRQs when
- * entering a suspend state. If NULL, then the generic versions
- * will be called. The generic versions disable/enable the
- * decrementer along with interrupts.
+ /*
+ * These are called before disabling and after enabling, respectively,
+ * IRQs when entering a suspend state. The generic code will always
+ * make sure local interrupts and the decrementer are disabled/enabled
+ * properly.
*/
void (*suspend_disable_irqs)(void);
void (*suspend_enable_irqs)(void);
More information about the Linuxppc-dev
mailing list