From: Guenter Roeck <linux@roeck-us.net>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
David Howells <dhowells@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@kernel.org>,
Aswin Chandramouleeswaran <aswin@hp.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
davidlohr@hp.com
Subject: Re: [PATCH BUGFIX] frv: Define cpu_relax_lowlatency()
Date: Tue, 19 Aug 2014 07:10:14 -0700 [thread overview]
Message-ID: <20140819141014.GA20807@roeck-us.net> (raw)
In-Reply-To: <1408392039.3718.6.camel@buesod1.americas.hpqcorp.net>
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@hp.com>
inventing a new tag...
Compile-tested-by: Guenter Roeck <linux@roeck-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
>
>
>
>
prev parent reply other threads:[~2014-08-19 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 20:00 [PATCH BUGFIX] frv: Define cpu_relax_lowlatency() Davidlohr Bueso
2014-08-19 14:10 ` Guenter Roeck [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=20140819141014.GA20807@roeck-us.net \
--to=linux@roeck-us.net \
--cc=aswin@hp.com \
--cc=dave@stgolabs.net \
--cc=davidlohr@hp.com \
--cc=dhowells@redhat.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.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