Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp89393pxj; Thu, 20 May 2021 05:12:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp1IgV8MNEbGZaMQLUH/fAr+HpMEyl1nCD3IIfSmPoN2Hu0XpGpxgU4ObZ+8Zsz6F9XebF X-Received: by 2002:a17:906:2cce:: with SMTP id r14mr4301592ejr.38.1621512768618; Thu, 20 May 2021 05:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512768; cv=none; d=google.com; s=arc-20160816; b=GWCwgxqnR13vyNJ5ecAFmkz8GK5QFAuGiRFO+jholWaIUfW9xER++zZznZS9kpqnks i4tBiRwdeVJIgdpi9Lg7jF5t0ejFwYbPb9hsvxMJjFZ3mywxHPYvIASOIRDreP6JmrT4 coQN7LWjVb1LR26hx1pNJm/ZAfAf/5w70BZERsM+uzV/DiPkOJAhGu9FmJIziE7Jb/5P JfW5AHnJS5hqe3G6bNHO35C2d8j3UcoPr0HwVtLSkvkCJl/h8SSCol4E/cAm6NcKCE4l hmXun7qZL1QG0RnJO5vhoWsFMrSm8Cw1w4EINt9KmKdsY4vVxlekkpMQ4VCNkFsRf6XV XEsg== 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=7ZiFgLWMWvuZRELwo2jd+K7U5Q4HIOe8SBImsjcWPpg=; b=eRZU7Ko1VTQ/KbZrEsW9UnzyULMB2Erlx6fLgpKttrICTezQ3jldH+ocz+c7jgd9lc eczQyLz5c9zEGAi6OYMO752y4TXuIMX7PSGEIhI0CnBzGvzQbC447fwzxRPt+6TeyCJq OCDanWtt98BRG6lbdkv4vuZeq4z/PKn7wFr+dDa8QNfEN5nfg4/pgKaU0OzL5vKEQVtS lXyybt073jU/UE69SIuqoCq0S7hij+x4hh/uc/vuJN89i/JJSSWFbA9dDZony711KbLO fK6yupMCAvNEEnzKhlMHLJLDQ/F8JlmHxXvmOoj5XPIs5AVOL2/6cNKZ1GGntTTC31m0 wLgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PEGXZmX1; 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 u20si2205633edv.439.2021.05.20.05.12.24; Thu, 20 May 2021 05:12:48 -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=PEGXZmX1; 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 S237441AbhETMKr (ORCPT + 99 others); Thu, 20 May 2021 08:10:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237335AbhETMKE (ORCPT ); Thu, 20 May 2021 08:10:04 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3573C00F78E; Thu, 20 May 2021 03:44:45 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id c12so462511pfl.3; Thu, 20 May 2021 03:44:45 -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=7ZiFgLWMWvuZRELwo2jd+K7U5Q4HIOe8SBImsjcWPpg=; b=PEGXZmX1QZg5eZN102ymP6m47ZpJDcsahQdFjSm6a/+FEr02vOmCcLQWSAm6hZxP3r JO5wS7RX1ObsIwWuIKV7DYdVNiWMTqv7+/wwIFqBwsW505FTcwRiiOuiFJOeI/ILVjFz GoAQUrP7+2JWnX7Zt/+Cnqhkib1bkAJcHlgKmG6ozF8voutTIl2ZURlzfRvhIn2iCA/J HOtK7rSzHTX7ZuT7ynRcid8yAogEpyjHZic8qeQlDQ1Y3jRgOkosl8jAT/T/ro8FYExl QJPx1DAMTmEVxbu3/CnafFrVTODY8Q15UDAstGwLkfNLOrtbge2+C8zytnVgU2zSVJSt Btjg== 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=7ZiFgLWMWvuZRELwo2jd+K7U5Q4HIOe8SBImsjcWPpg=; b=CMTqDYDYg1b6tjffK8ckFAOf02owkiV+APFNkguhJUeMDiqBuvSnd52990I0/T5YQn 251ihEyZGiNT4y52iu0TUmqG2AD/ot4YqQTysjdBkacxWO+9CJ3ch8hT5OIF91WvnrwR wKTXcY1cU74UlpSbJlatLBUMPIWjAan68vZ/c2AuFCDIAvH7Ss88bQY84Bu5g6UCGJ5m 12HrohKX8gg1npNwiR7ODY5iOBF3iVda9dZwSmY6QCLo5KWoEtUFk9IP6Nmptgvg4k4W LvAL9oySYVWUknGDh8J+fbHjj8SbOq5362MnTZVN7eINCLGW9+OG6UMkIiTJhQG6SDgj NT4A== X-Gm-Message-State: AOAM533gJBsER3+SWE/1Pb8myDx/C+au7TpUEsxP/RdmKaN1ONzAftb0 LBTgA3Jupo7YXn1fKtqthQA= X-Received: by 2002:a62:f24b:0:b029:2dc:9098:c14c with SMTP id y11-20020a62f24b0000b02902dc9098c14cmr3833071pfl.19.1621507485397; Thu, 20 May 2021 03:44:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 03:44:45 -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 4/6] uacce: Don't use BIT() macro in UAPI headers Date: Thu, 20 May 2021 03:43:41 -0700 Message-Id: <20210520104343.317119-5-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 UACCE_DEV_SVA. This macro is defined in the kernel but not in the UAPI headers. [1] https://lore.kernel.org/patchwork/patch/11334877/ Signed-off-by: Joe Richey --- include/uapi/misc/uacce/uacce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/misc/uacce/uacce.h b/include/uapi/misc/uacce/uacce.h index cc7185678f47..a404ec40e000 100644 --- a/include/uapi/misc/uacce/uacce.h +++ b/include/uapi/misc/uacce/uacce.h @@ -23,7 +23,7 @@ * Support PASID * Support device page faults (PCI PRI or SMMU Stall) */ -#define UACCE_DEV_SVA BIT(0) +#define UACCE_DEV_SVA (1 << 0) /** * enum uacce_qfrt: queue file region type -- 2.31.1