lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.10.0805252223570.3295@apollo.tec.linutronix.de>
Date:	Sun, 25 May 2008 22:24:51 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Sven Wegener <sven.wegener@...aler.net>
cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: Remove obsolete LOCK macro from
 include/asm-x86/atomic_64.h

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@...aler.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,
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ