All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: Brad <brad@comstyle.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.
Date: Fri, 3 Jun 2011 18:24:11 +0200	[thread overview]
Message-ID: <20110603162411.GC18519@volta.aurel32.net> (raw)
In-Reply-To: <20110526030600.GB4978@rox.home.comstyle.com>

On Wed, May 25, 2011 at 11:06:00PM -0400, Brad wrote:
> Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD
> to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.
> 
> Signed-off-by: Brad Smith <brad@comstyle.com>
> 
> ---
>  tcg/mips/tcg-target.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Thanks, applied.

> diff --git a/tcg/mips/tcg-target.h b/tcg/mips/tcg-target.h
> index 0028bfa..8cb7d88 100644
> --- a/tcg/mips/tcg-target.h
> +++ b/tcg/mips/tcg-target.h
> @@ -102,7 +102,11 @@ enum {
>  /* guest base is supported */
>  #define TCG_TARGET_HAS_GUEST_BASE
>  
> +#ifdef __OpenBSD__
> +#include <machine/sysarch.h>
> +#else
>  #include <sys/cachectl.h>
> +#endif
>  
>  static inline void flush_icache_range(unsigned long start, unsigned long stop)
>  {
> -- 
> 1.7.5
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

      parent reply	other threads:[~2011-06-03 16:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26  3:06 [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD Brad
2011-05-30 21:01 ` Brad
2011-05-30 21:16   ` Andreas Färber
2011-05-30 21:22     ` Brad
2011-05-30 21:24       ` Brad
2011-05-30 21:41       ` Andreas Färber
2011-06-03 16:24 ` Aurelien Jarno [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=20110603162411.GC18519@volta.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=brad@comstyle.com \
    --cc=qemu-devel@nongnu.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.