* [PATCH] fix comment for ppc_md enable/disable irq hooks
@ 2008-01-31 17:12 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2008-01-31 17:12 UTC (permalink / raw)
To: Paul Mackerras; +Cc: Scott Wood, linuxppc-dev list
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@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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-01 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31 17:12 [PATCH] fix comment for ppc_md enable/disable irq hooks Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox