Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp978440pxj; Fri, 21 May 2021 03:43:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjb+yFOhbMcBlrQI0egInmpiKgjIOuApROoe+2/MJRDXyx7aLPcMNcDqS9NKFUAhuZiaHk X-Received: by 2002:a17:906:7712:: with SMTP id q18mr9930025ejm.10.1621593788567; Fri, 21 May 2021 03:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621593788; cv=none; d=google.com; s=arc-20160816; b=v2kAC0Mzy/kzq2UQRB8teja+PHjOpUCBIAB6/BikBm3finiql7FzbIyheDefDhYUGp Ch+8Cbbrtw7gTWmI/gQxnVFTFMnjJH9+1cdNL7syR8sGWXiFV4MnMgxsdy8TeSYBKznF BRUHGpFBWuC64Kmw0CYJAAhG2ShMKk7hAhN8n4Jm/+Rp4JWEHF59fGLmPSn0yBesptkP 83aaHPJ70ycieva1OerRbsDz+o4HJqXZ8HLvukfMutYGVKjTRPPiOsa467t5LJg27Jjn I/HmxnAw5+3Hrr/zAS9OH2v+yWQTOfAEoyZobi/+Ze42gs6Ov2qGYSfb9PuqCW+838Dm coag== 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=yM/3QdkJCppokhFbJwJxmhjVf2nsrL4HrLq6id+fxEk=; b=cT33HcQY7Z6vHGdMmSfW1XvAu9lIz/Eqr/N0ulP6IRp6gKTna8MYw3vu05/A2JXrK+ qCqLlSYHJdhgxRE823adEKzWPhq4QFUo6HQIEHsWsqilpDu8SF9sCKbxEygLtN3cH0VJ GkwZtz/f54PTmmBWFhmV4FGLhU38Ykw0V03cldvxmz0AuV1e4IpmkrGiVHUKGNC1r8Hs Vy67kUHcFsie30jouN6WXqpODXGGeD1Htk35+Vx0BGdeIlxV+iZHkAA3KB+07s9kuVgu pZWB9Xzp0MPbFODzlDr8YlBhNYIGMc0PA13tNFoX7StdU2y8afgZ3qAJyEfmGIR3cOUs nFxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PvEz30dm; 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 a20si4253125edj.72.2021.05.21.03.42.44; Fri, 21 May 2021 03:43:08 -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=PvEz30dm; 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 S235140AbhEUJA6 (ORCPT + 99 others); Fri, 21 May 2021 05:00:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234501AbhEUJAr (ORCPT ); Fri, 21 May 2021 05:00:47 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B844C0613CE; Fri, 21 May 2021 01:59:23 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id b15-20020a17090a550fb029015dad75163dso6829558pji.0; Fri, 21 May 2021 01:59:23 -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=yM/3QdkJCppokhFbJwJxmhjVf2nsrL4HrLq6id+fxEk=; b=PvEz30dm/K8/j50iH//PbpjEfJzooQ9UREv0KIGi7QlAsFEZ5CsF415d+FyDZlTfCB mN0snlIOptA+BBG8KbBFsYIBvkvNQAYQkfzc0Ize26XRY5tDKPFkTWOJwtugVydkywob RGaYHCsyOU/+UrD+KWX0uQy3fVYCrtLsoclDKCpaDogDpyQ8WVqUWtOfSve2Pedb4L4h pKr2NJsVdJfPFoP3zAN2nmRpOn/VdbQpnJ23AIFCpYAGrlyFXPMqHjgZyfnwgrwK7sTH LjaSFQ30FByisriSdtWNp5a6twgVO4Q7jnWuw48yMjjmgNsHdoXQM5y4amxAwoWAoK+W 8PQQ== 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=yM/3QdkJCppokhFbJwJxmhjVf2nsrL4HrLq6id+fxEk=; b=UaYwWz0yLN/wO3rZgrVZQWh+zP82QSZZDqj/tElyW5F9zndCl0ash67uy807gAG7ot X/FnVAtx0t/LSqQ62puI+HcWO7B7JnIW3VLgmHF6tPsFXyjMdVuvlLE9QszLE63q1ao+ 5Xzv/8gPJHFhP98ncmKWlZxz4kb5+TwJmSQDI0oOf4cHpl2cf6GMG6HTw90XpomCsjUo lE/GOzvBPEJEXhKc65nBdm0wSG/cWRQ7iEtnShKz0KCzvYhKa5bwdYOSUKvw6IG2B8+/ upQvImTh4fBR/GKJjS4oSaJtX8lEKFqrH5ELDAM9Kzrag7F4PpT+uuRushkrR0pcOw+k eoqQ== X-Gm-Message-State: AOAM530IF6ii63/MFSwgPnc2RKCsOmn/3tfqVhXsBY7o5E6xE5zAQMpt aQrVbuBmGvZRPdc5uGlEQwg= X-Received: by 2002:a17:902:7e02:b029:f1:62ce:6674 with SMTP id b2-20020a1709027e02b02900f162ce6674mr11071326plm.39.1621587562995; Fri, 21 May 2021 01:59:22 -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 q3sm3914489pff.142.2021.05.21.01.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 01:59:22 -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 , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Sasha Levin , "Chang S. Bae" , Andi Kleen , Peter Xu , Lei Cao , Daniel Lezcano , Ulf Hansson , "Rafael J. Wysocki" , Zaibo Xu , Herbert Xu , Jean-Philippe Brucker , Hans Verkuil , 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 v2 4/7] uacce: Use _BITUL() macro in UAPI headers Date: Fri, 21 May 2021 01:58:45 -0700 Message-Id: <20210521085849.37676-5-joerichey94@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210521085849.37676-1-joerichey94@gmail.com> References: <20210520104343.317119-1-joerichey94@gmail.com> <20210521085849.37676-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 Replace BIT() in uacce's UPAI header with _BITUL(). BIT() is not defined in the UAPI headers and its usage may cause userspace build errors. Fixes: 015d239ac014 ("uacce: add uacce driver") Signed-off-by: Joe Richey --- include/uapi/misc/uacce/uacce.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/misc/uacce/uacce.h b/include/uapi/misc/uacce/uacce.h index cc7185678f47..e0b4c8a2d29c 100644 --- a/include/uapi/misc/uacce/uacce.h +++ b/include/uapi/misc/uacce/uacce.h @@ -2,6 +2,7 @@ #ifndef _UAPIUUACCE_H #define _UAPIUUACCE_H +#include #include #include @@ -23,7 +24,7 @@ * Support PASID * Support device page faults (PCI PRI or SMMU Stall) */ -#define UACCE_DEV_SVA BIT(0) +#define UACCE_DEV_SVA _BITUL(0) /** * enum uacce_qfrt: queue file region type -- 2.31.1