Received: from eggs.gnu.org ([140.186.70.92]:50603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSXAV-0001O2-Av for qemu-devel@nongnu.org; Fri, 03 Jun 2011 12:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSXAT-0002XS-K6 for qemu-devel@nongnu.org; Fri, 03 Jun 2011 12:24:15 -0400 Received: from hall.aurel32.net ([88.191.126.93]:38526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSXAT-0002XO-9i for qemu-devel@nongnu.org; Fri, 03 Jun 2011 12:24:13 -0400 Date: Fri, 3 Jun 2011 18:24:11 +0200 From: Aurelien Jarno Message-ID: <20110603162411.GC18519@volta.aurel32.net> References: <20110526030600.GB4978@rox.home.comstyle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20110526030600.GB4978@rox.home.comstyle.com> Subject: Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Cc: qemu-devel@nongnu.org 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 > > --- > 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 > +#else > #include > +#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