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]
Date:	Tue, 19 Aug 2014 07:10:14 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Davidlohr Bueso <dave@...olabs.net>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	David Howells <dhowells@...hat.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...nel.org>,
	Aswin Chandramouleeswaran <aswin@...com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	davidlohr@...com
Subject: Re: [PATCH BUGFIX] frv: Define cpu_relax_lowlatency()

On Mon, Aug 18, 2014 at 01:00:39PM -0700, Davidlohr Bueso wrote:
> 3a6bfbc9 (arch,locking: Ciao arch_mutex_cpu_relax()) broke building the frv
> arch. Fixes errors such as:
> 
> kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency'
> 
> Signed-off-by: Davidlohr Bueso <davidlohr@...com>

inventing a new tag...

Compile-tested-by: Guenter Roeck <linux@...ck-us.net>

> ---
> Linus, as discussed, here's the resend.
> Original thread: https://lkml.org/lkml/2014/8/5/442
> 
>  arch/frv/include/asm/processor.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/frv/include/asm/processor.h b/arch/frv/include/asm/processor.h
> index a34f309..6554e78 100644
> --- a/arch/frv/include/asm/processor.h
> +++ b/arch/frv/include/asm/processor.h
> @@ -129,7 +129,8 @@ unsigned long get_wchan(struct task_struct *p);
>  #define	KSTK_EIP(tsk)	((tsk)->thread.frame0->pc)
>  #define	KSTK_ESP(tsk)	((tsk)->thread.frame0->sp)
>  
> -#define cpu_relax()    barrier()
> +#define cpu_relax() barrier()
> +#define cpu_relax_lowlatency() cpu_relax()
>  
>  /* data cache prefetch */
>  #define ARCH_HAS_PREFETCH
> -- 
> 1.8.1.4
> 
> 
> 
> 
--
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