From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV9pb-00043t-95 for qemu-devel@nongnu.org; Mon, 28 Nov 2011 17:37:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV9pZ-0004p3-VZ for qemu-devel@nongnu.org; Mon, 28 Nov 2011 17:37:47 -0500 Message-ID: <4ED40D31.10903@codemonkey.ws> Date: Mon, 28 Nov 2011 16:37:37 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1322172970-20616-1-git-send-email-sw@weilnetz.de> In-Reply-To: <1322172970-20616-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tci: Make flush_icache_range() inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 11/24/2011 04:16 PM, Stefan Weil wrote: > This is standard for other tcg targets and improves tci, too. > > Signed-off-by: Stefan Weil Applied. Thanks. Regards, Anthony Liguori > --- > tcg/tci/tcg-target.c | 4 ---- > tcg/tci/tcg-target.h | 4 ++++ > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c > index 5011c43..f26bec7 100644 > --- a/tcg/tci/tcg-target.c > +++ b/tcg/tci/tcg-target.c > @@ -379,10 +379,6 @@ static const char *const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { > }; > #endif > > -static void flush_icache_range(unsigned long start, unsigned long stop) > -{ > -} > - > static void patch_reloc(uint8_t *code_ptr, int type, > tcg_target_long value, tcg_target_long addend) > { > diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h > index 449373d..c35786c 100644 > --- a/tcg/tci/tcg-target.h > +++ b/tcg/tci/tcg-target.h > @@ -157,4 +157,8 @@ void tci_disas(uint8_t opc); > unsigned long tcg_qemu_tb_exec(CPUState *env, uint8_t *tb_ptr); > #define tcg_qemu_tb_exec tcg_qemu_tb_exec > > +static inline void flush_icache_range(unsigned long start, unsigned long stop) > +{ > +} > + > #endif /* TCG_TARGET_H */