From patchwork Thu Aug 8 16:41:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 170819 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp8813882ile; Thu, 8 Aug 2019 09:41:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZY71sw5gQf9qn1E5pwTK/g5HXHyQp/VqIcvdz06FpX0em6UiWXFrl2h9V5rzhXlf1VnmG X-Received: by 2002:ac8:2e5d:: with SMTP id s29mr14245239qta.70.1565282513832; Thu, 08 Aug 2019 09:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565282513; cv=none; d=google.com; s=arc-20160816; b=XaJpuHnD8BVWmyNHSC5PV1s4SCqgu/nhIfOTiGqoWQbvUy2UodOXaQIQY3JAds/vLL c67LBVT/1t/rhSo7vVblZS596J+Bg77y5GA32VtQ4KDhwI/crw+VRHNMOov54CJAhlTw 4eN37M4LwIe4FoUJ9SOpuIUxCboKmHrFhDy7zVz/iQgB1QB+HUQTZWd1fltHGeBCYyya IHxoygJoG5gHrHWZ7fx+UyeR5HvSNtAVATuIE6oqiGLwD8bA5568hJmSAegCKYyQPeas BHS2QgvApJ0rqwrfvGdZDwbluO0EDWUImFGUYZEfyZaEM0o2QW58/YkcKTj0qCSrQ/7a vo1w== 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; bh=2RSOSRsqssKleRulrR8mChIVkJMA0GRBzSuPGfLK1Fk=; b=hRj6cl1yj4M3cA1sIwCRPK0d0LmZFIBX4szT+RhRFJpuZYRi8tsxhKkraySNpZglsl hDM0heUmpwkSqkpXV0yHkp5Lm6L290mHDCSJfUBmaiFPd08YXzvLSr7/iqU3sVNdCwHa +VE5kHJj4njoeD4vQ2SXgKvAxko8o3Hr+y3rAk8Q/sY2aoSmJdRZXzJ6ZPSX3r+RT1hM ujLJ95rK/02IN18HvY29mafdokoRqjuGyjNlbQfSIZMK3kk83MYxCrwUB7qNqH7gtImu 1MUyYABuxRbWpScZ7XWi7FtVOJ+fDAfApo1Nc2PYkJbG3wAPz1yO6yj30VOuBT9+5sSU mmfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tCDcC8la; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id d23si3531924qvc.119.2019.08.08.09.41.53 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Aug 2019 09:41:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tCDcC8la; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:54082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlU9-0004bT-EX for patch@linaro.org; Thu, 08 Aug 2019 12:41:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55098) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlTg-0004Sz-BZ for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvlTe-0007W2-Gf for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:24 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:37641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvlTe-0007TI-Ag for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:22 -0400 Received: by mail-wr1-x442.google.com with SMTP id b3so3192693wro.4 for ; Thu, 08 Aug 2019 09:41:21 -0700 (PDT) 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=2RSOSRsqssKleRulrR8mChIVkJMA0GRBzSuPGfLK1Fk=; b=tCDcC8laVqLxCvaFMM6CIe/d7HNAEQucF6h+x1wIpjnXFQeOabnDmL6aiPDByye1wO jWXXJ0l5Br5iyPVSjgKPeQ568YznWqbckDoc3cKvDju//eEACZwy/FT2k711v84VUlXp MQGQC8qElNG0Kjmjt5ElTm3XbaSganeutq12/1OWRxpRrvYol4XRJwVpO54dnRCxB/rr uV5BjlHKq4Y8cpuiav0/2Jp0szW6gwdqfYCZsVCyA+V6OoUXlz2ItRbMyZc9MZwbopHy ZtgnxhKohEgLNKNn4PE2cWBPoTnXAp/5lcUKJ3b7+n6XpuOfTmGVPmBks73WR7ChVKHF ling== 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=2RSOSRsqssKleRulrR8mChIVkJMA0GRBzSuPGfLK1Fk=; b=rFkO1trohX6hbdB0K0/BywB1751mCw5TL5BiS+uNwZhXSLpEMeHuPwpdqVIHN6ejHL BO62ofEvIDlXpkyEfBvS4wXBMT+dVF9glhb69KU9MPJHkCxOptD9BQASpxlHz0L6EDk7 192Ilz0sveLWCv1XFWWEO1f7Oo0QzxVviLp7PKYUC5chLbcGcZemTK04bX0CKSgJRVSF m/MPyfarAbP1YrOfpvmkTfRgjvUGo+EvJEIiXEQo7RF/lKWvMlimW9I0iuPdsQCGvzB8 hKD2kMST2wsunz5NTQcEx2XzGpn+5wiKUlYKGTQYpfk2LmlwOg+K284wQGHTB2WoWUK8 4Ipw== X-Gm-Message-State: APjAAAVRtrgVXwGGQDQlyG5ev0hqT8hG5xtZkr/dGS/2rt1wcWzFvF/U u/qCZ63kdzeDjsDEI0FdvZr4kA== X-Received: by 2002:adf:f2c4:: with SMTP id d4mr17797029wrp.3.1565282480941; Thu, 08 Aug 2019 09:41:20 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l3sm4724788wrb.41.2019.08.08.09.41.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 09:41:19 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9224F1FF90; Thu, 8 Aug 2019 17:41:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 8 Aug 2019 17:41:13 +0100 Message-Id: <20190808164117.23348-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190808164117.23348-1-alex.bennee@linaro.org> References: <20190808164117.23348-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [PATCH v1 3/7] fpu: make softfloat-macros "self-contained" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , armbru@redhat.com, Aurelien Jarno Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The macros use the "flags" type and to be consistent if anyone just needs the macros we should bring in the header we need. There is an outstanding TODO to audit the use of "flags" and replace with bool at which point this include could be dropped. Signed-off-by: Alex Bennée --- include/fpu/softfloat-macros.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 Acked-by: Richard Henderson diff --git a/include/fpu/softfloat-macros.h b/include/fpu/softfloat-macros.h index c55aa6d1742..e698bca4e1d 100644 --- a/include/fpu/softfloat-macros.h +++ b/include/fpu/softfloat-macros.h @@ -82,6 +82,8 @@ this code that are retained. #ifndef FPU_SOFTFLOAT_MACROS_H #define FPU_SOFTFLOAT_MACROS_H +#include "fpu/softfloat-types.h" + /*---------------------------------------------------------------------------- | Shifts `a' right by the number of bits given in `count'. If any nonzero | bits are shifted off, they are ``jammed'' into the least significant bit of