All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Swaminathan Sivasubramanian" <ssivasu@us.ibm.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] atomic add instruction
Date: Tue, 17 Jul 2001 22:09:46 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005852@msgid-missing> (raw)

Hello Everyone,

I  want an atomic function that does addition of a constant to the value in
a memory location and returns the previous value in that location.

 Is there any macro/function defined in IA-64's atomic.h already. (will
fetch-and-add solve the purpose?) or one should write his own function for
it

Thanking in advance,
Swami




             reply	other threads:[~2001-07-17 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17 22:09 Swaminathan Sivasubramanian [this message]
2001-07-18 21:32 ` [Linux-ia64] atomic add instruction David Mosberger

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=marc-linux-ia64-105590693005852@msgid-missing \
    --to=ssivasu@us.ibm.com \
    --cc=linux-ia64@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.