LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Paul Mackerras <paulus@samba.org>
Cc: Scott Wood <scottwood@freescale.com>,
	linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: [PATCH] fix comment for ppc_md enable/disable irq hooks
Date: Thu, 31 Jan 2008 18:12:21 +0100	[thread overview]
Message-ID: <1201799541.4149.31.camel@johannes.berg> (raw)

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);

                 reply	other threads:[~2008-02-01 12:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201799541.4149.31.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=scottwood@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox