From: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
To: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: linux-parisc@vger.kernel.org
Subject: [PATCH] fix atomic64 on PA-RISC
Date: Wed, 27 Jul 2011 01:57:56 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.00.1107270157040.660@artax.karlin.mff.cuni.cz> (raw)
In-Reply-To: <alpine.DEB.2.00.1106290043170.32272@artax.karlin.mff.cuni.cz>
Fix atomic64 on PA-RISC
Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
---
arch/parisc/include/asm/atomic.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-3.0-devel/arch/parisc/include/asm/atomic.h
===================================================================
--- linux-3.0-devel.orig/arch/parisc/include/asm/atomic.h 2011-07-27 01:27:03.000000000 +0200
+++ linux-3.0-devel/arch/parisc/include/asm/atomic.h 2011-07-27 01:30:44.000000000 +0200
@@ -259,10 +259,10 @@ static __inline__ int atomic_add_unless(
#define ATOMIC64_INIT(i) ((atomic64_t) { (i) })
-static __inline__ int
+static __inline__ s64
__atomic64_add_return(s64 i, atomic64_t *v)
{
- int ret;
+ s64 ret;
unsigned long flags;
_atomic_spin_lock_irqsave(v, flags);
next prev parent reply other threads:[~2011-07-26 23:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 22:48 [PATCH] fix backtrace on PA-RISC Mikulas Patocka
2011-06-29 0:59 ` John David Anglin
2011-06-29 14:24 ` Mikulas Patocka
2011-06-29 15:00 ` Mikulas Patocka
2011-06-29 16:45 ` John David Anglin
2011-06-29 1:25 ` John David Anglin
2011-07-26 23:57 ` Mikulas Patocka [this message]
2011-07-27 0:27 ` [PATCH] fix atomic64 " Matt Turner
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=alpine.DEB.2.00.1107270157040.660@artax.karlin.mff.cuni.cz \
--to=mikulas@artax.karlin.mff.cuni.cz \
--cc=jejb@parisc-linux.org \
--cc=linux-parisc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.