From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 464C3C433ED for ; Thu, 20 May 2021 10:46:33 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA4F1610A1 for ; Thu, 20 May 2021 10:46:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA4F1610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Zngn8Si6i43rBYFgPbcwedVjgslRYKcYBcHe0WcM+8o=; b=jFAxVKtcbxu2E5KYCLviY9naFW 5XyRyc5wzWj5pQIdk/RDDwljK6zoVptjubup5qhGfdzmjHBi9nrp3Jz8bmKyyYQoOnfieduMWPigw THn4/2whuCg7/NJmszGeC1hLAdgFEJRSSSrJtCdA1HbFiImWlu05FdGJDSZ4UEtVk4KKifrKUFa1z z7CSxvqORd9udPwrsqRefvH8Gih1ol9qhWJBlq3nF3agzHWQMVvbJVOj/Xf7BdhjueVTas8j0wkxL zTuA5QOLM25DEqUCnu2WGJC6Dw6CrzG+418x+if5k3xFHxsulPk3WJ+4BdrG0jIKWx2mJ6Z9iAbl3 0aroNwTg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljgAo-000Csk-3j; Thu, 20 May 2021 10:45:02 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljgAY-000Cp8-Lv for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 10:44:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=RFZzbSCSG3liEBFzsFBndnKLD/Fxvy9/A4lnI3gqTkk=; b=4EDmn26uBKh2m7XU1igp7QFaDS tcN4fXOEBaAToLFH2617h3gxnEsMNy5mbLTeGMYQ2ezv5xLF+g9tktZZaTS3696EFbyL8J9NUtIFh c46y2VUGLhPbMQqN0qAbR0mGzrZy42lbAtMw6nv1oU7gyQepOs0ekU94rD8d/JjtuSj1bywA8VChS DNU4dbw929IeHnuFJ/kfuzQ3QK00uiwz5WUr3vKui3/H0jy5UDgYs9GmDFRd8VkBG2YTS8KhBEGf5 BZTmWUcLuO6Zt6FtTeR4IIcULETQx7FYKeemujez4ZFKBMNJ5k4I3yon16PITMhhTylArZMfpuQKp fAhUMNxQ==; Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljgAV-00GBod-Pf for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 10:44:45 +0000 Received: by mail-pj1-x102f.google.com with SMTP id k5so8917369pjj.1 for ; Thu, 20 May 2021 03:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RFZzbSCSG3liEBFzsFBndnKLD/Fxvy9/A4lnI3gqTkk=; b=JIRPPqQQnCwSCGUt//YCjOWHq2ypvad/gMkV8o3aD7q2iXNGsOkmPuyuSearwgsQZF dBrrjWfXFgsidXWuwCdUHWdEjruWKbKlRC883fPbdU3s/ElPPKF3ZXZ/gWHCqTpIEZvh D+uTuT7SiiMX8uqyVF6zFDrCeScNYWjtipxI9AvISF9jEU+FC+bja7YGzlh0zshKSB9w uqaLECyB3jTOI6BpGLpdaYdQ/kmEOJd+E1Y05e4fQpsdyBlY2V3a8pta9xzuGIU42sn4 6lLd/A7a6q1oaC1xHBsBMNq14JwG5y8FApd0SEjIcybEYr0aJgPfW7rQQG37AU7e0WSQ DHrA== 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=RFZzbSCSG3liEBFzsFBndnKLD/Fxvy9/A4lnI3gqTkk=; b=XrQSSR6OL0KiXunzuf8AGTgcwEt1PwsrrEIwmwYhKfDKTEznP/um/B0IXbIpC2aMqR i2gxOaKR3xGUJKDRz3/mrSc5OpKhh2SI9NErdlQTncIW2E6g4qhv1NE/TWrBgHxYSE2Z J1LJ08sbKKzy29WAaGcT4w7tWePDZABfXiPoh3FZuZN651VAULvFJi52RZumKxAx/TLb rry6Q8n6xllb16LQilOnJ+/PRQrznHeT3P5ROgSvntJ8CHarnlz0d7f0gbimeiG7nRNG tc7i3mzL9/d/YoTzpXeXBoCrtDDq+2d2CTMOsnVZXjmv745eBaESYELoGSeyjF6TSJtA d/Kw== X-Gm-Message-State: AOAM530nsfFtyj1uCXSoxSDcgxqocjZmydXRwSXQi0CW6ElASJC94dUx Z9yOyWt8OJeh/GzWogHta68= X-Google-Smtp-Source: ABdhPJxx1dTd0Y3Xng3m8t0IBTSlLbvNI9PVElP0v8+VI4s1saDnixJ2q3TyYoXNuylaWlJKnSm3bw== X-Received: by 2002:a17:902:8ecc:b029:ef:6471:dc08 with SMTP id x12-20020a1709028eccb02900ef6471dc08mr5094131plo.5.1621507482766; Thu, 20 May 2021 03:44:42 -0700 (PDT) Received: from pride.localdomain (c-174-61-140-56.hsd1.wa.comcast.net. [174.61.140.56]) by smtp.gmail.com with ESMTPSA id z12sm1762572pfk.45.2021.05.20.03.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 03:44:42 -0700 (PDT) From: Joe Richey To: trivial@kernel.org Cc: Joe Richey , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Paolo Bonzini , Mark Rutland , Lorenzo Pieralisi , Mauro Carvalho Chehab , Zhangfei Gao , Zhou Wang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-accelerators@lists.ozlabs.org Subject: [PATCH 2/6] KVM: X86: Don't use BIT() macro in UAPI headers Date: Thu, 20 May 2021 03:43:39 -0700 Message-Id: <20210520104343.317119-3-joerichey94@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520104343.317119-1-joerichey94@gmail.com> References: <20210520104343.317119-1-joerichey94@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_034443_860880_8B4DDEED X-CRM114-Status: GOOD ( 15.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Joe Richey A previous patch [1] used the BIT() macro to define the KVM_DIRTY_GFN_F_* constants in KVM's UAPI header. This macro is defined in the kernel but not in the UAPI headers. [1] https://patchwork.kernel.org/patch/11854393 Signed-off-by: Joe Richey --- include/uapi/linux/kvm.h | 4 ++-- tools/include/uapi/linux/kvm.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 3fd9a7e9d90c..8f8a0fd7cd65 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -1879,8 +1879,8 @@ struct kvm_hyperv_eventfd { * conversion after harvesting an entry. Also, it must not skip any * dirty bits, so that dirty bits are always harvested in sequence. */ -#define KVM_DIRTY_GFN_F_DIRTY BIT(0) -#define KVM_DIRTY_GFN_F_RESET BIT(1) +#define KVM_DIRTY_GFN_F_DIRTY (1 << 0) +#define KVM_DIRTY_GFN_F_RESET (1 << 1) #define KVM_DIRTY_GFN_F_MASK 0x3 /* diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h index 3fd9a7e9d90c..8f8a0fd7cd65 100644 --- a/tools/include/uapi/linux/kvm.h +++ b/tools/include/uapi/linux/kvm.h @@ -1879,8 +1879,8 @@ struct kvm_hyperv_eventfd { * conversion after harvesting an entry. Also, it must not skip any * dirty bits, so that dirty bits are always harvested in sequence. */ -#define KVM_DIRTY_GFN_F_DIRTY BIT(0) -#define KVM_DIRTY_GFN_F_RESET BIT(1) +#define KVM_DIRTY_GFN_F_DIRTY (1 << 0) +#define KVM_DIRTY_GFN_F_RESET (1 << 1) #define KVM_DIRTY_GFN_F_MASK 0x3 /* -- 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel