[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code
From: |
Aurelien Jarno |
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 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
>
> ---
> 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
address@hidden http://www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.,
Aurelien Jarno <=