From: Stephen Rothwell <sfr@canb.auug.org.au>
To: paulus@samba.org
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: Use soft irq-disable on all 64-bit machines
Date: Wed, 14 Jun 2006 17:23:09 +1000 [thread overview]
Message-ID: <20060614172309.59d7b76e.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20060614170840.3686cbad.sfr@canb.auug.org.au>
On Wed, 14 Jun 2006 17:08:40 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Looks good. A couple of small fixes below.
Plus we want the below as well ...
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
diff --git a/include/asm-powerpc/hw_irq.h b/include/asm-powerpc/hw_irq.h
index db0ce76..dc5f1ec 100644
--- a/include/asm-powerpc/hw_irq.h
+++ b/include/asm-powerpc/hw_irq.h
@@ -8,6 +8,7 @@ #ifdef __KERNEL__
#include <linux/config.h>
#include <linux/errno.h>
+#include <linux/compiler.h>
#include <asm/ptrace.h>
#include <asm/processor.h>
@@ -25,6 +26,7 @@ static inline unsigned long local_irq_di
{
unsigned long flag = get_paca()->proc_enabled;
get_paca()->proc_enabled = 0;
+ barrier();
return flag;
}
next prev parent reply other threads:[~2006-06-14 7:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 3:31 [PATCH] powerpc: Use soft irq-disable on all 64-bit machines Paul Mackerras
2006-06-14 7:08 ` Stephen Rothwell
2006-06-14 7:23 ` Stephen Rothwell [this message]
2006-06-16 3:24 ` Stephen Rothwell
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=20060614172309.59d7b76e.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/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