From patchwork Thu Jun 15 23:04:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emilio Cota X-Patchwork-Id: 9790373 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4627F60384 for ; Thu, 15 Jun 2017 23:06:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38DDC2810E for ; Thu, 15 Jun 2017 23:06:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BACA2854F; Thu, 15 Jun 2017 23:06:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3E682810E for ; Thu, 15 Jun 2017 23:06:39 +0000 (UTC) Received: from localhost ([::1]:56446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLdqY-0001bQ-N6 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 15 Jun 2017 19:06:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLdok-0000s3-MW for qemu-devel@nongnu.org; Thu, 15 Jun 2017 19:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLdoj-00025I-S9 for qemu-devel@nongnu.org; Thu, 15 Jun 2017 19:04:46 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:39165) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dLdof-00022O-5U; Thu, 15 Jun 2017 19:04:41 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5E82A20C10; Thu, 15 Jun 2017 19:04:40 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 15 Jun 2017 19:04:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h=cc :date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=JxZH6sTHGLmmY06C1h4FeQvS97M 60DGjziiZNwlW1+8=; b=XbXKkK0FdhAqfhCVUV06phJlTtUXQkwjx0NRJOXx+fl tu4HTW/lrAKZlM8tUQHrt5tIFn0Dg7+u9/dz87x9KxdeIZ3YU/ppEFuR/kJgug3z C8kBF4kM7kD76fKMCvB4uGlq3xjF5P8/U3lyF1GHtVOERktcZuMVvF+fZdLGL39k = DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=JxZH6s THGLmmY06C1h4FeQvS97M60DGjziiZNwlW1+8=; b=diCdjLt/EZCqAHw5n5Jp6H itRi/WBcdf+JAR0w7tCWdHIIeSUBZgruXgqQ8RVf7OIOQKdIhuDFXR0LnWXQ2vgb IFGeS3mdZ45l8HCvE37Clfj0v0GoyLgBv32PjyTMs54i5CKBIcLRIy+vWNcTdzMx OPdt7yH9mkOXZJpkJROTmLic1ZgUKkZfoXWROO/iOmPWhgM5XxI1V/+hoq/txEBU PLbVrlw4jHg68gnzQuMpWdpOfzm3a9LizO9xBFUAqaClzZ/LiWvFreLowRhtxGAC fcFZeJko657/9cnuqwGYmVHrUGzmEaRRD7BHPgxf5tQReeN0tLz0tkueW38Pmr0Q == X-ME-Sender: X-Sasl-enc: lLnhWQX+5QyJCI8Gw/w9/L27Ay0gClFUePGAhOeghKnF 1497567880 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 13EE77E7B1; Thu, 15 Jun 2017 19:04:40 -0400 (EDT) From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Thu, 15 Jun 2017 19:04:38 -0400 Message-Id: <1497567879-13734-1-git-send-email-cota@braap.org> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [PATCH 1/2] gen-icount: add missing inline to gen_tb_end X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Anthony Green , Mark Cave-Ayland , Max Filippov , "Edgar E . Iglesias" , Guan Xuetao , =?UTF-8?q?Llu=C3=ADs=20Vilanova?= , Marek Vasut , Alexander Graf , Richard Henderson , Artyom Tarasenko , Eduardo Habkost , qemu-arm@nongnu.org, Yongbok Kim , Stafford Horne , David Gibson , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Michael Walle , qemu-ppc@nongnu.org, Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson --- include/exec/gen-icount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 62d462e..547c979 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -44,7 +44,7 @@ static inline void gen_tb_start(TranslationBlock *tb) tcg_temp_free_i32(count); } -static void gen_tb_end(TranslationBlock *tb, int num_insns) +static inline void gen_tb_end(TranslationBlock *tb, int num_insns) { if (tb->cflags & CF_USE_ICOUNT) { /* Update the num_insn immediate parameter now that we know