From patchwork Mon Dec 18 17:30:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 122284 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3145281qgn; Mon, 18 Dec 2017 10:03:02 -0800 (PST) X-Google-Smtp-Source: ACJfBovQtKAz+bvzS5ri/6m7W6LagWuprMMA4VVBMbuiER9iwJsj6CFHjo5csUlxjfOvnVTmU05K X-Received: by 10.37.12.132 with SMTP id 126mr497545ybm.457.1513620182463; Mon, 18 Dec 2017 10:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513620182; cv=none; d=google.com; s=arc-20160816; b=vtmNdGKXlMusl2ZTlPVyz+p0099URYd7kRZALHTFwHXQSu8H3fBFIth/34K4IVwx8+ T/ogoHeScWtNGPFtBGoILarBhtKiBeY2LVvpPmJOnGggQCSeVnsqOBQhNqMobU+jvWwz jD41ExE1N2/Je97DjWbN8q6uSb/L9V1F+VYzbc7hiRPnIVn1OxLSDCgktLOVeSWfv7sJ oFrdJYtCgjd/xk3TJw9Z8Ic1MMC4FhWQ6kI19LvC77jFB7oAu97sKIm+GKnqnOdPsUx4 SQO0dMvYDogopSz/EURuuTiPFJ0MFGb//SRW9MyMqgMmaCOEnBOrBNFvCCp2L86NCpTf Qx5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=W93ah91u8A5c8lGsoOsfCn5H4dV1elhaDMwT3JRL7sY=; b=cf8cUpBMKFXwlG0vPON0tVSxVBtsD8FKVu51EOrabhD91LxzmdrFa7TAACTFfOHzBa WGu2EpBi6mUsWZPeGjMVxz/9wdpwmjhTCcnEU1YIh9WMK1hV9ioFgoduBI7ncY3ynExN Vbqsr1JJAb9oLRgegssrz0V3ISd/89YCWUEnFsGg90WNwBjJ4u3YwyhqZAKL8t8s7ZmD ecKQkFA8ynA0w12w8qIdlkcyJS0VRkxv92BfF8b1TvhcbYWIdTeIxolk3Uar1yu5M++K 1Ok32wMmZyLn6S+Ru8IP5kHhQsHLueaUKU2Wrp+zGvIu6dhkw0O/BF0OZDRZrLvj2qCk W2wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UOwvzZZA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id r2si2499142ywa.368.2017.12.18.10.03.02 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 18 Dec 2017 10:03:02 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UOwvzZZA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQzkj-0006lx-SJ for patch@linaro.org; Mon, 18 Dec 2017 13:03:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQzFF-0002XU-EH for qemu-devel@nongnu.org; Mon, 18 Dec 2017 12:30:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQzFD-0004bD-Tz for qemu-devel@nongnu.org; Mon, 18 Dec 2017 12:30:29 -0500 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:40286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQzFD-0004ZK-KW for qemu-devel@nongnu.org; Mon, 18 Dec 2017 12:30:27 -0500 Received: by mail-pl0-x242.google.com with SMTP id 62so3774707pld.7 for ; Mon, 18 Dec 2017 09:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W93ah91u8A5c8lGsoOsfCn5H4dV1elhaDMwT3JRL7sY=; b=UOwvzZZAyIqvy6/gvivLJHEGEnIuczgjDk2f2nv9Nz/EWOkt2d9efpG0IZ37+afEg+ ez33E7X0rc6iZMcjwuo12dFYkc0O84SqQXGBmBUufULwXAMrYFXiqIdbYNaYjsPlyUBw BZFSmX88a34qJIyEuvzmWHw99p/jFmvGYcoas= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W93ah91u8A5c8lGsoOsfCn5H4dV1elhaDMwT3JRL7sY=; b=TZMbXbW27ei5JSJvMSjCAIC87FMnnXJcg2+pj8cQeUSSKcx1r4KdkNK6Kf4qGGUlOR Csg0ZJsAsTz6Kk8URru74v8vxKEOucscxuLpdknoBydI1TkshscWKQXbGiPncTr7Xoli vPJryjsMfd3k+Pf7ob3qIcNMmEEekk7otIIYNld0V2S7k9cP8OKl7BFq0eZ8z+sAai8q amZg47c9NX8D4I3OuS4/XoWLegu/C953kF2poyhA+gotk/xfh8anrm1ig4LAGt1VfR45 IgJTMSZy5/bmY7wQ75RL3mSykjlgGSPI98cChSLkYaAtAtRyhqpF0uDN/EJC9whvLuQh JZrg== X-Gm-Message-State: AKGB3mJKp1IMBEmmjqds8YB9X6wJCq8zEtWzm8czf+6jfoBw2wd1sL+5 vY12ZnzZN3NVjc6cf+xAmIGbnjqGcdM= X-Received: by 10.84.245.15 with SMTP id i15mr452074pll.402.1513618226396; Mon, 18 Dec 2017 09:30:26 -0800 (PST) Received: from cloudburst.twiddle.net (174-21-7-63.tukw.qwest.net. [174.21.7.63]) by smtp.gmail.com with ESMTPSA id h69sm26553411pfe.107.2017.12.18.09.30.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Dec 2017 09:30:25 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 18 Dec 2017 09:30:14 -0800 Message-Id: <20171218173022.18418-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171218173022.18418-1-richard.henderson@linaro.org> References: <20171218173022.18418-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::242 Subject: [Qemu-devel] [PATCH 1/9] target/arm: Mark disas_set_insn_syndrome inline 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@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" If it isn't used when translate.h is included, we'll get a compiler Werror. Signed-off-by: Richard Henderson --- target/arm/translate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.3 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell diff --git a/target/arm/translate.h b/target/arm/translate.h index cd7313ace7..3f4df91e5e 100644 --- a/target/arm/translate.h +++ b/target/arm/translate.h @@ -108,7 +108,7 @@ static inline int default_exception_el(DisasContext *s) ? 3 : MAX(1, s->current_el); } -static void disas_set_insn_syndrome(DisasContext *s, uint32_t syn) +static inline void disas_set_insn_syndrome(DisasContext *s, uint32_t syn) { /* We don't need to save all of the syndrome so we mask and shift * out unneeded bits to help the sleb128 encoder do a better job.