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 <[EMAIL PROTECTED]>
---
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);
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev