Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp91282pxj; Thu, 20 May 2021 05:15:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqBnB93phS22FPYP0lEYjmcdN0N6kC/jiYCHiffoOS25e8/pBgNWxCCVSOx3qNd944KY5T X-Received: by 2002:a17:906:7c4b:: with SMTP id g11mr4388904ejp.461.1621512903597; Thu, 20 May 2021 05:15:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512903; cv=none; d=google.com; s=arc-20160816; b=qtDj1EKKj6ik2lDZ5RjOcoAq6Xx+bYpDgqKdhrqNpkhrg08xMbuuIPTCHEGcV0Co50 T0LwTMw+JFdR65lU1O3fCCIMV4EgTQWuf0M0wiKHllEtKCTkwCiHfeVi5xQWXw0Ru3Wn 9/0IMe4vbNX+OMaU+3YaSgHLfr3tNeAxDC5rCJQC+HSTMYZNEy2pm3+vUGSOdFhoCSls LjsjHI6n+k3MsKGIKteH5mDc7VxfKeyLW3TOpQNx/AT2MgPqIaAH7dAfgW9X4bSP5RSe nPaoYZHHYxLy3W1JjL5R5uF9LFrKqXDwUMx7YE1/Z29NBkwrCzlzOKD31FNv5v1D5ijh Fcyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LRY+3cJVXzz2zcOenbypgu3Wy1PZW3y4sq5PxyFROR0=; b=uarASRfkzuC3ARIx+ZdzkVgurjUXZYY61TikBc9WC5WNbTe7ztIQ7uct2prhGtweQ7 f76EkGqvRb6FbN1/sqLNplIr6GGjULODAjnNnZ4rqbwLcKuhINMv3mZLNvsCF1IQmrGJ shrz08xTh5Dj0C0OzJtC1TREHdaSx1Zju3uljE0Q0/iQ924YSjaqv+QHMEbCTbOtqaix KmtezDFu/5tSb8oqnWOvRic2M9RA68CG6EkWe9qVTOvRBR0hr41PZu8JgSW+e0uCsOSG CYp2vHLAJus+s0LWY4uS+xjJ1FThIGF0D+UbRlmosH/5DD/P9hZIdEGJMn/xEmNRUQCl rvMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sx5X8GbC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq25si2024950edb.107.2021.05.20.05.14.39; Thu, 20 May 2021 05:15:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sx5X8GbC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242064AbhETMKi (ORCPT + 99 others); Thu, 20 May 2021 08:10:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237120AbhETMKD (ORCPT ); Thu, 20 May 2021 08:10:03 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D95FEC00F789; Thu, 20 May 2021 03:44:41 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id o17-20020a17090a9f91b029015cef5b3c50so5205219pjp.4; Thu, 20 May 2021 03:44:41 -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=LRY+3cJVXzz2zcOenbypgu3Wy1PZW3y4sq5PxyFROR0=; b=sx5X8GbCdxGlmtdtk6i28Qbu++UYP1OyWcUVsh1Z4P2G8nPl/BajRPrYBl6LYmbn/G 2d51AT2Mkf9nIaR87KlwB4g1DWNVA37B2MNmKD43CxxIjFoo9ugktQpMVZgace5+9D0s WasPefkQS8WqT2cKX3WTUgcpyDpzg5gVn7sS1B0J+0L0IlNzcDR+yHOEp/aeBGGx+7mx 4yWxEPkJEvuuhN7HL0nlV0qd8xbBe+W00H97ivLM/SMsYTumY+cZFpHJHDL5uKZFu6AR zMLL2DTaFPST0lbLuyZXLVumbFybcj04+sCGEP+2INQ8g5EI/KUettMabLV6qWKuHHuX etIA== 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=LRY+3cJVXzz2zcOenbypgu3Wy1PZW3y4sq5PxyFROR0=; b=SDu9KhNz1JA/99UqbtnmFjXYSeUyi4wbypBaN/dcxlLV2vapd4gjwDxeD2/F7xCz3e CMaCs3NUdCWP3WL4qY9ucLkc+5kq73mD3gRen6q3YGoUVMXqDXadOqLJ7lAHKeWcbs1+ gbMSTLcTOMYBxEFHBQfF77+nqyHM5brDXOY4SzfQGPVS9SQGskmDYBN5rQFp9z4ZV8vF JQeTzr+3QBXN2UQZ6SJSxqngg230Z1JdAgdgkTFb31x12uyVX1b/Ma4wYtMCpCtp1o+U gwt0fGU229krkRBQZDp5y1z0zv27GSmWmeyFozJx4LIZ5cAi6406Xy+sRuDWlwSdgqMO aHEg== X-Gm-Message-State: AOAM531nI+EufRPBSdnSUttd3ahnIIj51RjJea5zViHufPZDkxCfnURS y/fZbd61vDv2DmC4nFj3ia8= X-Received: by 2002:a17:902:c409:b029:f0:d31d:4877 with SMTP id k9-20020a170902c409b02900f0d31d4877mr5064760plk.74.1621507481485; Thu, 20 May 2021 03:44:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 03:44:41 -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 1/6] x86/elf: Don't use BIT() macro in UAPI headers Date: Thu, 20 May 2021 03:43:38 -0700 Message-Id: <20210520104343.317119-2-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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Richey A previous patch [1] used the BIT() macro to define HWCAP2_FSGSBASE. This macro is defined in the kernel but not in the UAPI headers. [1] https://lore.kernel.org/patchwork/patch/912068/ Signed-off-by: Joe Richey --- arch/x86/include/uapi/asm/hwcap2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/uapi/asm/hwcap2.h b/arch/x86/include/uapi/asm/hwcap2.h index 5fdfcb47000f..6d2175b43710 100644 --- a/arch/x86/include/uapi/asm/hwcap2.h +++ b/arch/x86/include/uapi/asm/hwcap2.h @@ -6,6 +6,6 @@ #define HWCAP2_RING3MWAIT (1 << 0) /* Kernel allows FSGSBASE instructions available in Ring 3 */ -#define HWCAP2_FSGSBASE BIT(1) +#define HWCAP2_FSGSBASE (1 << 1) #endif -- 2.31.1