mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk,
	Anton Blanchard <anton@samba.org>
Subject: Re: Six archs are missing atomic_inc_return()
Date: Thu, 18 Nov 2004 20:48:36 -0800	[thread overview]
Message-ID: <20041118204836.09d2d738.akpm@osdl.org> (raw)
In-Reply-To: <200411180148_MC3-1-8EE2-A85D@compuserve.com>

Chuck Ebbert <76306.1226@compuserve.com> wrote:
>
>  Six archs do not have the atomic_inc_return() macro as of 2.6.10-rc2:
> 
>    cris
>    h8300
>    m32r
>    ppc
>    ppc64
>    s390

All of these architectures implement atomic_add_return().  So they all need

	#define atomic_inc_return(v)	atomic_add_return(1, v)

added to their atomic.h.

Wanna send a patch?

  parent reply	other threads:[~2004-11-19  4:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-18  6:44 Chuck Ebbert
2004-11-18  6:56 ` Anton Blanchard
2004-11-19  4:48 ` Andrew Morton [this message]
2004-11-19  6:16   ` David S. Miller
2004-11-18 23:14 Chuck Ebbert
2004-11-20 20:18 ` Herbert Poetzl

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=20041118204836.09d2d738.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=76306.1226@compuserve.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=anton@samba.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome