Am 30.05.2011 um 23:22 schrieb Brad:

On 30/05/11 5:16 PM, Andreas Färber wrote:
Am 30.05.2011 um 23:01 schrieb Brad:

On 25/05/11 11:06 PM, 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.

ping.

Signed-off-by: Brad Smith<b...@comstyle.com>

---
tcg/mips/tcg-target.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

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>

Usually we have a space in there. Bad example below. ;)

In the original diff as it came across the mailing list even there
is a space.

Confirmed, looks better on Patchwork: http://patchwork.ozlabs.org/patch/97488/

Andreas

Reply via email to