Received: from eggs.gnu.org ([208.118.235.92]:37912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4eJ3-0003oK-RG for qemu-devel@nongnu.org; Mon, 05 Mar 2012 15:14:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4eJ1-0005mD-Vt for qemu-devel@nongnu.org; Mon, 05 Mar 2012 15:14:53 -0500 Received: from cantor2.suse.de ([195.135.220.15]:44407 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4eJ1-0005ls-PC for qemu-devel@nongnu.org; Mon, 05 Mar 2012 15:14:51 -0500 References: <1330727407-24014-1-git-send-email-sw@weilnetz.de> <1330727407-24014-6-git-send-email-sw@weilnetz.de> <4F550CB2.4040201@suse.de> <4F551CE8.5050403@weilnetz.de> In-Reply-To: <4F551CE8.5050403@weilnetz.de> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=cp932 Message-Id: From: Alexander Graf Date: Mon, 5 Mar 2012 21:15:49 +0100 Subject: Re: [Qemu-devel] [PATCH 5/6] cache-utils: Change data type of parameters for flush_icache_range List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: "qemu-devel@nongnu.org" On 05.03.2012, at 21:07, Stefan Weil wrote: > Am 05.03.2012 19:57, schrieb Alexander Graf: >> On 03/02/2012 11:30 PM, Stefan Weil wrote: >>> The TCG targets i386 and tci needed a change of the function >>> prototype for w64. >>>=20 >>> This change is currently not needed here, but it can be applied >>> to avoid code differences. >>>=20 >>> Cc: Alexander Graf >>> Signed-off-by: Stefan Weil >>> --- >>> cache-utils.h | 2 +- >>> 1 files changed, 1 insertions(+), 1 deletions(-) >>>=20 >>> diff --git a/cache-utils.h b/cache-utils.h >>> index 0b65907..04a6e2e 100644 >>> --- a/cache-utils.h >>> +++ b/cache-utils.h >>> @@ -12,7 +12,7 @@ extern struct qemu_cache_conf qemu_cache_conf; >>> void qemu_cache_utils_init(char **envp); >>>=20 >>> /* mildly adjusted code from tcg-dyngen.c */ >>> -static inline void flush_icache_range(unsigned long start, unsigned lon= g stop) >>> +static inline void flush_icache_range(uintptr_t start, uintptr_t stop) >>=20 >> Ugh, this causes compilation breakage: >>=20 >> CC cache-utils.o >> In file included from cache-utils.c:1: >> cache-utils.h:15: error: expected =81e)=81f before =81estart=81f >> make: *** [cache-utils.o] Error 1 >>=20 >> because cache-utils.c doesn't include anything that would define uintptr_= t. Any idea how to fix this? >>=20 >>=20 >> Alex >=20 >=20 > #include Mind to send a patch? ;) Alex >=20 > Cheers, > Stefan >=20 >=20 >=20