From: Thomas Gleixner <tglx@linutronix.de>
To: Sven Wegener <sven.wegener@stealer.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: Remove obsolete LOCK macro from include/asm-x86/atomic_64.h
Date: Sun, 25 May 2008 22:24:51 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.1.10.0805252223570.3295@apollo.tec.linutronix.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0805252114420.25477@titan.stealer.net>
On Sun, 25 May 2008, Sven Wegener wrote:
> Commit d167a518 "[PATCH] x86_64: x86_64 version of the smp alternative patch."
> has left the LOCK macro in include/asm-x86_64/atomic.h, which is now
> include/asm-x86/atomic_64.h. Its scope should be local to the file, other
> architectures don't provide it, I couldn't find an in-tree user of it and
> allyesconfig, allmodconfig and allnoconfig build fine without it, so this
> patch
> removes it.
>
> Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Applied. Thanks,
tglx
> ---
> include/asm-x86/atomic_64.h | 6 ------
> 1 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/include/asm-x86/atomic_64.h b/include/asm-x86/atomic_64.h
> index 3e0cd7d..fe589c1 100644
> --- a/include/asm-x86/atomic_64.h
> +++ b/include/asm-x86/atomic_64.h
> @@ -11,12 +11,6 @@
> * resource counting etc..
> */
>
> -#ifdef CONFIG_SMP
> -#define LOCK "lock ; "
> -#else
> -#define LOCK ""
> -#endif
> -
> /*
> * Make sure gcc doesn't try to be clever and move things around
> * on us. We need to use _exactly_ the address the user gave us,
>
prev parent reply other threads:[~2008-05-25 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-25 19:16 Sven Wegener
2008-05-25 20:24 ` Thomas Gleixner [this message]
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.LFD.1.10.0805252223570.3295@apollo.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sven.wegener@stealer.net \
/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
all inboxes | Powered by JetHome®