Message ID | 20230111163147.71761-5-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp3350470pvb; Wed, 11 Jan 2023 08:37:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXvBbIO2hmH1KO7x6QTI5Bur7NLVsuz4WFfpy8hUn9QjLc9oNOthbDEbTjpI/CCHfAYu182n X-Received: by 2002:a05:622a:206:b0:3a7:eb36:5cb3 with SMTP id b6-20020a05622a020600b003a7eb365cb3mr131532936qtx.41.1673455042720; Wed, 11 Jan 2023 08:37:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673455042; cv=none; d=google.com; s=arc-20160816; b=GXsgpqVtA5Iqt1Q0/IqoPr5avvP/fW9huIrvfvUz1d6TDtkGUs4BaolUGUfujnY69k IqS96EkRW+MdUzYjJeNi1wTmBpoujGTxPwdVUvRm3TIP2EMMiQwUwZyfGXZQvK79+L7w CvN9KA4CBY1pK0U36dLngumAVcC7CbMI7Em+BYX4gh5lAx8YvDUXQABaV7Ogd8ZYO6u8 YKu1A8iF95RWBdCU8DYRQSyr4Ap+nIXG3c3UY9uuvxp+407lCTZ5fMACPKUuD/c88Pi5 POZgMGVVZpnyAQLAfXQT6+NjkI130SGgyJB6HsrzE4lXjyH/R+k3fNryKYNM54fT/3j2 qeug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YrOBk17TMa2OWZz0SbjtOf4ZOsu6Ap5uvaat2NYfOGU=; b=hV+AafeuAz1RravD13H3hfZWEkWzbwYhMqgTk6mRGmqqIKopFePQb6FOx9UpPvMi6p DEUVMdDfglU/Vdc7BSS6n+gx/obLLxnZYFBN/9AnLASgNAj32KdEZrf8+X0nKGdR4IkJ jokYYeOEqNXFvHVKXFcy1DgSnNHUyN2ykFgX46maiHvFU7zoW7s4WRWRE4WbWuXZ9MpC Niao6MG+vHlMNnE0cQ4jn0yO8KKdFxErPLE2EVp5kfBV7wRJXwA+EVNadmkIbYL4XZge oUZ8QxpRx92oatXEFoDianoOpZG0ozI1jLTqwUdmg4rQold3hWdOfdlVBY4tuu/j2RGk kDkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j98uTUob; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTP id f20-20020ac84994000000b003ab65b88860si8752046qtq.419.2023.01.11.08.37.22 for <patch@linaro.org>; Wed, 11 Jan 2023 08:37:22 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=j98uTUob; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1pFe1P-0001Ko-74; Wed, 11 Jan 2023 11:32:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1pFe1O-0001Kb-Cs for qemu-devel@nongnu.org; Wed, 11 Jan 2023 11:32:14 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1pFe1M-0006DA-5B for qemu-devel@nongnu.org; Wed, 11 Jan 2023 11:32:14 -0500 Received: by mail-wr1-x42b.google.com with SMTP id z5so14571668wrt.6 for <qemu-devel@nongnu.org>; Wed, 11 Jan 2023 08:32:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YrOBk17TMa2OWZz0SbjtOf4ZOsu6Ap5uvaat2NYfOGU=; b=j98uTUob0WJmHtLZZ15lWN950JCotVwZSfoUbkTpeYNiQP4wEs/qDi6sdabZQbnooE w9AIelEvdKQD3SxTKGPAL3ao4eSJWl3OMdljno8scrgdK8crXrqnJwp7VinGien/m263 A7qOmHGP/wbtrejcX3aykbhc1L0/iC/F5txk3oVM2e4zIjkM3ogIVz2ZD/48CCLPOmSs KTp0uMj99dQ1HOypOKks4Sr7IfrJdFxTdUM+Dyve7bN2MhR7gTKhI/CL6tcaIpbgMWNN nBy/HfqgOtDTxnxr+hmadjAefXRfzDzyd/Akg5shY39vHfNQKxiu5F6mEjOwThIRcUw6 x5Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YrOBk17TMa2OWZz0SbjtOf4ZOsu6Ap5uvaat2NYfOGU=; b=gVFShC59baP7RaCYnQBqCNTJ5G7E2V+pcZOboiI/klEyNy10ynabQowYVDPVYLENSY pBMgVZGo3Mclojf9UKuMpx/jllaBaxuygPM6NKHQWcon+V9QILsKkdxDNMOvZD36GrDK HcxvR+Uk+aSq/3MCFMXlz2IFqIN2rYBwDYuhp1dttLbohkOm8OR1jPpLJOj+YvCxxJhR yPyufFvI0BWZmUjSiIPJmp2bKesiUgZ2qGIzDJHK+sI+oyjUX80Y8UlNzaVv6atmvV5q JYj6yCXiMMPb1kH1Y0DYNhnfWvBguSeZez4WP0oiNRMIqg7o6Xt54/GMvh3aT2+tVPLj 5Jyg== X-Gm-Message-State: AFqh2kquXBeNw6btgJX6O4UrgSrLcgaY4puSdvWiNFDYangLqg1X3aJ6 oD/z+BIaPcRGOlsj/BNsz24byEMYcabwuaRl X-Received: by 2002:a05:6000:1f1b:b0:2b8:27df:d43f with SMTP id bv27-20020a0560001f1b00b002b827dfd43fmr21198814wrb.24.1673454730705; Wed, 11 Jan 2023 08:32:10 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id n13-20020a5d67cd000000b002bdcce37d31sm319808wrw.99.2023.01.11.08.32.09 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Jan 2023 08:32:10 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, Ryo ONODERA <ryoon@netbsd.org>, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, Ira Weiny <ira.weiny@intel.com>, Paolo Bonzini <pbonzini@redhat.com>, Kamil Rytarowski <kamil@netbsd.org>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Reinoud Zandijk <reinoud@netbsd.org>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, =?utf-8?q?Philippe_Mathieu-?= =?utf-8?q?Daud=C3=A9?= <philmd@redhat.com>, David Carlier <devnexen@gmail.com>, Carlo Arenas <carenas@gmail.com> Subject: [PATCH v3 4/6] qemu/bswap: Use compiler __builtin_bswap() on Haiku Date: Wed, 11 Jan 2023 17:31:45 +0100 Message-Id: <20230111163147.71761-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230111163147.71761-1-philmd@linaro.org> References: <20230111163147.71761-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
qemu/bswap: Use compiler __builtin_bswap()
|
expand
|
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index fd5a98125a..8cd5a2b02e 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -6,8 +6,6 @@ # include <machine/bswap.h> #elif defined(__FreeBSD__) # include <sys/endian.h> -#elif defined(__HAIKU__) -# include <endian.h> # else #define BSWAP_FROM_FALLBACKS #endif /* ! CONFIG_MACHINE_BSWAP_H */