From patchwork Fri Jan 19 04:54:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125072 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp129757ljf; Thu, 18 Jan 2018 20:55:08 -0800 (PST) X-Google-Smtp-Source: ACJfBosrw2/NdtbWSLebPmkLUI+3ApBMWOD6hrqVaNMaOeP6KILFxglFvRW0JbRpMKQSte7Etq/m X-Received: by 10.129.181.71 with SMTP id c7mr8498114ywk.447.1516337708801; Thu, 18 Jan 2018 20:55:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516337708; cv=none; d=google.com; s=arc-20160816; b=HQIpIMFhquvEi6X6u/Q2PXRL+qwSrRZ16HFPUgKNJUVVZdBrDDC6FWvbSe3NnxuVlR 7CnH3ZXTJ7wFxDPmTGnCUwGF0+YYq+4kp+GHtIyFPrCxXVwWEL/EJMmxhNg2I3RRlhih 8oMJCz9SZ+osXwb0ljWADgwEMZjnprKDPy8q6/M+9ZemxUZz1k5FmmebBBkQeUKQJOFL HtVHI3cVl0vCrS4rf+r6Q3SL8g0lkXsIcdqvuT6eb69p9cC9d2bQaGSa88IsyZCpbiaf Yiy0dHPBOZeRjFdlZidYJCyHonXgKqaygMrvECgRfuLvpL+XHoOT/+lK8IMRDI97dzxI OC9Q== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=5WNzWOnHIPiHy0Szq3f4k4lBfnWBOrorMzjkzO2oPgc=; b=cF8sQoZw3vvnqgYWs56iqFDrkUX0O2cU2BGX63xgSKMiX+8inG8Glvx+v9bBQWS4rC Nmph17MO9LI/ts2mfh481waAaF7opF8tezoYu/9jEgCrqrqkIj2u7qNHRzGqpNy/BShz br8wleUxw+DcK0d+fowb0OLV2Ku6XqbmpjJhBl8czrLgODoJXGK4hW27he5XW3aoCmU3 EMlbj6oJzmgdQlWwkuRX794ICqzzzFzWBRR2WItH1pRWuTnxY9a2Jr016e+xf3fYizyU 7/L+j5xU6a98tlAXGRhTHIw4XHeBrlwgy4xvVdgVgGuAxq3fNoTDDuggAYi0ydk9KKuu I89g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iNYCzjSg; 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 x193si2124642ywx.373.2018.01.18.20.55.08 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 18 Jan 2018 20:55:08 -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=iNYCzjSg; 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]:52251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecOho-000242-5w for patch@linaro.org; Thu, 18 Jan 2018 23:55:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecOhT-00023X-IG for qemu-devel@nongnu.org; Thu, 18 Jan 2018 23:54:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecOhP-0008QX-U5 for qemu-devel@nongnu.org; Thu, 18 Jan 2018 23:54:47 -0500 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:46595) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ecOhP-0008Pn-ON for qemu-devel@nongnu.org; Thu, 18 Jan 2018 23:54:43 -0500 Received: by mail-pg0-x242.google.com with SMTP id s9so538367pgq.13 for ; Thu, 18 Jan 2018 20:54:43 -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 :mime-version:content-transfer-encoding; bh=5WNzWOnHIPiHy0Szq3f4k4lBfnWBOrorMzjkzO2oPgc=; b=iNYCzjSgBnHehBFmyEw16BjWWjHVkp/ph+wiPXGSLKIpnTG07uh9tArpMPVuzV2mQc a8Qnf8EQWS8DmmIsbuEV8AqCCsChx5sxQW49dgna0r5zv4EPauudIkG+1+69/ENBgJoI Zyp2GX8V7lqvS/be3aVBTpA1MiAw9QUWMY2WQ= 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:mime-version:content-transfer-encoding; bh=5WNzWOnHIPiHy0Szq3f4k4lBfnWBOrorMzjkzO2oPgc=; b=NrJ/e1bu64++5AgkAcNJQIv/rZu7GyQEQoUv5BxSdazMY7/x06ErNk7cbeAL+2nePR IAhNO5K34ZlvEFz1gCpxonN0+JZiWpIw8F2MNwxHlLf2ECKyyslEawq0TzV5jrL9NpKS UO6aWxQmMpp4OQ4cRwbCHz3YltMLav3sA1Iga0AgmQrwija5tp/osxiyUUQOdIqqpHkX cKsK0pO34l8oQZa1bMINWfZK+skPgkOUGT22enFtm3DVh113H84qmEOfMDy0b1xORvRT yH4LKY2IfeUbNTxMgk6b9DfLzGttfrtzIwdozIjB5LKbkoLKbUOWhvNeGE2hNwsyb0g2 wV0A== X-Gm-Message-State: AKwxytfGzEfAk9aLvM7mR8ZM6cy//TGxwZoWC0bWEiN7TE+k/fcCsule SCxgZ5TgSxkkdXhn2WyMnXyd4CITOtY= X-Received: by 2002:a17:902:658f:: with SMTP id c15-v6mr946368plk.412.1516337682375; Thu, 18 Jan 2018 20:54:42 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-183-164.tukw.qwest.net. [97.113.183.164]) by smtp.gmail.com with ESMTPSA id m12sm13690022pga.68.2018.01.18.20.54.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2018 20:54:41 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 18 Jan 2018 20:54:23 -0800 Message-Id: <20180119045438.28582-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180119045438.28582-1-richard.henderson@linaro.org> References: <20180119045438.28582-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::242 Subject: [Qemu-devel] [PATCH v2 01/16] 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 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. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/translate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.3 Reviewed-by: Alex Bennée 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.