From patchwork Wed Nov 11 00:44:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 11896005 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=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 84ADFC388F7 for ; Wed, 11 Nov 2020 00:46:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 02BFC206B5 for ; Wed, 11 Nov 2020 00:46:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AM+YR5Wr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Iv1YLt8A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02BFC206B5 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=bKJsHuw8SgNfdVndXK7plaod9jwws9+Y3PjIwBy1ifM=; b=AM+YR5WrvPU2BZ/F9weqMwX+cp h7MvodNk+S5bnr+8lWaKkIA9Ezh2E64Oa1aCFpOfKheIVmc/7hrZX0p1EG3PZVOAKSm++/TRkn+He NHlQWcbeK+yWHfme01ETC3/SM9sc1mUqGwql+Eu7OcggNS+coHEI9WDHHpvzjttev6eYvoy+RqG9H WAyj43cBFMQ3RfQLMvlbkAD0MuiOxb/XKkgzyaUS51YpFoXw3ils3H7eAVZakEDsAcHAhebGTQOcJ N1Dkb1Xu2wefYNH11x2HNHOcwhetfS5oYDPDxYmw1FpYwh/0ocrx+ciL5ixXpC2GTaJUlLQ4GoLmy QWsWZypA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kceFw-0006t0-FI; Wed, 11 Nov 2020 00:45:00 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kceFt-0006sG-R4 for linux-arm-kernel@lists.infradead.org; Wed, 11 Nov 2020 00:44:58 +0000 Received: by mail-wr1-x442.google.com with SMTP id s8so587494wrw.10 for ; Tue, 10 Nov 2020 16:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/13qwQgQ3Y+lxdm33Ix8mWDwT4msBrtLlbjK58L715E=; b=Iv1YLt8AGRr7vcn+UBzP9lP/XbFvroEB/vY4GqAg8hnFDIn5vdmnoGabvEKq0BBpZ1 K5/cXoeQwgyLtJ5iAVNisuMAB+ESTMLPmU5/PZlqIMmsDVIlPFisYdwUYF2e49c1p9Vo HcHxM/I6aNAsUcrXbDCGP90EjShM5Skl15xZ6IMA/pU5FF6Re5f+ZmlsEoM014ZJGZyQ pnc5JO2D+5+0MvQBHuvtNB3l3KkBPnMDjp7bAg6kju+wed3H+WWfF+Do51k6986kpJH1 nUPcGMYJETojhqdMIlnS8+Xd/U74NqyrtbkV/6b+PpPX0dRRd+yP2nobJNkiJcLEXQlI xnOQ== 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:mime-version :content-transfer-encoding; bh=/13qwQgQ3Y+lxdm33Ix8mWDwT4msBrtLlbjK58L715E=; b=QjIp612EyQc9Bk+qfo4S6lT9WN1lMsXnmqdMJHiVsDWWz7nED2CCSDuskSusdRKmoj /cGLYHvDV3rG1Gg+iYcMyryyAquuXv+BP1TQ8RTpGlxOuo8/6n3PkBz4aMb9i592nX8c Mt8/dE9EkE8mhsE8gP+WVwKsrPGjDS4hc5z2cWLk+wFgo+HqQQkB0MLfW7+oYaXt3/kg WNfPvdj/Emxpehwt48n1hJ2rFkoxEJ2nip0TO76Cnofmu3t5BZv5RBkvW+etQrcxfnHa zw+17qOBqfDdux54ehhttR/wjHtOO+4bdLBFEEuY9ViISPa5o8MIB+4GELPWfFhx1NYO Vm0Q== X-Gm-Message-State: AOAM532KjPoh0tvNtE8pq5GPLuHM+XwYeBHPiU4pjkfdsfmLfKicocDF FJAiiXYJJsvrSGPMr5jckRk= X-Google-Smtp-Source: ABdhPJxjCyyhtS6gfnMjb6r1RGKXCCMvZYQDvhogrJTemBZvYL5lOJ4YguBqefLyX1zVAWKAbNSm6A== X-Received: by 2002:a5d:6447:: with SMTP id d7mr25952011wrw.96.1605055496387; Tue, 10 Nov 2020 16:44:56 -0800 (PST) Received: from ansuel-xps20.localdomain (93-39-149-95.ip76.fastwebnet.it. [93.39.149.95]) by smtp.googlemail.com with ESMTPSA id 18sm514556wmo.3.2020.11.10.16.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 16:44:55 -0800 (PST) From: Ansuel Smith To: Will Deacon Subject: [PATCH] arm64: fix missing include in asm uaccess.h Date: Wed, 11 Nov 2020 01:44:38 +0100 Message-Id: <20201111004440.8783-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201110_194457_945782_DD3D48E7 X-CRM114-Status: GOOD ( 13.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Pavel Tatashin , Catalin Marinas , linux-kernel@vger.kernel.org, Al Viro , Andrew Morton , Ansuel Smith , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix a compilation error as PF_KTHREAD is defined in linux/sched.h and this is missing. Fixes: df325e05a682 ("arm64: Validate tagged addresses in access_ok() called from kernel threads") Signed-off-by: Ansuel Smith Signed-off-by: Ansuel Smith Signed-off-by: Andrew Morton --- arch/arm64/include/asm/uaccess.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/uaccess.h b/arch/arm64/include/asm/uaccess.h index 991dd5f031e4..51a4f63f464a 100644 --- a/arch/arm64/include/asm/uaccess.h +++ b/arch/arm64/include/asm/uaccess.h @@ -7,6 +7,8 @@ #ifndef __ASM_UACCESS_H #define __ASM_UACCESS_H +#include + #include #include #include