Skip to contentSkip to conversation

fix comment for ppc_md enable/disable irq hooks

PATCH New Johannes Berg 1 participant 1 message Feb 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix comment for ppc_md enable/disable irq hooks

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.

---
 include/asm/machdep.h |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
include/asm/machdep.h +5 -4
@@ -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);