From: Andreas Schwab <schwab@linux-m68k.org>
To: gerg@snapgear.com
Cc: linux-m68k@vger.kernel.org, Greg Ungerer <gerg@uclinux.org>
Subject: Re: [PATCH] m68k: fix ColdFire clear cache operation
Date: Tue, 10 Jul 2012 09:12:12 +0200 [thread overview]
Message-ID: <m2629w5bub.fsf@igel.home> (raw)
In-Reply-To: <1341902481-8321-1-git-send-email-gerg@snapgear.com> (gerg@snapgear.com's message of "Tue, 10 Jul 2012 16:41:21 +1000")
<gerg@snapgear.com> writes:
> +static inline void clear_cf_icache(unsigned long start, unsigned long end)
> +{
> + __asm__ __volatile__ (
> + "movel %0,%%d0\n\t"
> + "movec %%d0,%%cacr\n\t"
> + "nop\n\t"
> + :
> + : "i" (CACHE_MODE | CACR_ICINVA | CACR_BCINVA)
Why not "r"?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2012-07-10 7:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 6:41 [PATCH] m68k: fix ColdFire clear cache operation gerg
2012-07-10 7:12 ` Andreas Schwab [this message]
2012-07-10 12:50 ` Greg Ungerer
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=m2629w5bub.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=gerg@snapgear.com \
--cc=gerg@uclinux.org \
--cc=linux-m68k@vger.kernel.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.