From: Christoph Hellwig <hch@infradead.org>
To: linux-ia64@vger.kernel.org
Subject: Re: ia64 atomic_dec_and_lock() patch
Date: Wed, 10 Dec 2003 15:44:19 +0000 [thread overview]
Message-ID: <marc-linux-ia64-107107117511215@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-107107082810707@msgid-missing>
> --- linux-2.6.0-test11.orig/arch/ia64/lib/dec_and_lock.c 1970-01-01
> 01:00:00.000000000 +0100
> +++ linux-2.6.0-test11/arch/ia64/lib/dec_and_lock.c 2003-12-09
> 11:31:23.000000000 +0100
> @@ -0,0 +1,42 @@
> +/*
> + * ia64 version of "atomic_dec_and_lock()" using
> + * the atomic "cmpxchg" instruction.
> + * This code is an adaptation of the x86 version
> + * of "atomic_dec_and_lock()".
> + */
You should probably add a copyright here and the license (i.e. GPLv2)
> +
> +#include <linux/spinlock.h>
> +#include <asm/atomic.h>
> +
> +#ifndef ATOMIC_DEC_AND_LOCK
Why this ifdef?
next prev parent reply other threads:[~2003-12-10 15:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-10 15:37 ia64 atomic_dec_and_lock() patch jerome.marchand
2003-12-10 15:44 ` Christoph Hellwig [this message]
2003-12-10 16:06 ` jerome.marchand
2003-12-10 17:33 ` David Mosberger
2003-12-11 9:58 ` jerome.marchand
2003-12-11 20:28 ` 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-107107117511215@msgid-missing \
--to=hch@infradead.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox