All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Crispin <john@phrozen.org>
To: linux-mips@linux-mips.org
Subject: Re: [PATCH] MIPS: define write{b,w,l,q}_relaxed
Date: Fri, 31 May 2013 16:44:35 +0200	[thread overview]
Message-ID: <51A8B753.4090900@phrozen.org> (raw)
In-Reply-To: <1370009264-22018-1-git-send-email-f.fainelli@gmail.com>

On 31/05/13 16:07, Florian Fainelli wrote:
> MIPS does define read{b,w,l,q}_relaxed but does not define their write
> counterparts: write{b,w,l,q}_relaxed. This patch adds the missing
> definitions for the write*_relaxed I/O accessors.
>
> Signed-off-by: Florian Fainelli<f.fainelli@gmail.com>

Acked-by: John Crispin <blogic@openwrt.org>



> ---
>   arch/mips/include/asm/io.h | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
> index b7e5985..ca42c68 100644
> --- a/arch/mips/include/asm/io.h
> +++ b/arch/mips/include/asm/io.h
> @@ -449,6 +449,11 @@ __BUILDIO(q, u64)
>   #define readl_relaxed			readl
>   #define readq_relaxed			readq
>
> +#define writeb_relaxed			writeb
> +#define writew_relaxed			writew
> +#define writel_relaxed			writel
> +#define writeq_relaxed			writeq
> +
>   #define readb_be(addr)							\
>   	__raw_readb((__force unsigned *)(addr))
>   #define readw_be(addr)							\

  reply	other threads:[~2013-05-31 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-31 14:07 [PATCH] MIPS: define write{b,w,l,q}_relaxed Florian Fainelli
2013-05-31 14:44 ` John Crispin [this message]
2013-06-04  9:37   ` Florian Fainelli

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=51A8B753.4090900@phrozen.org \
    --to=john@phrozen.org \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.