Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1660934ybh; Tue, 14 Jul 2020 04:04:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYBF1YScsfxANYYvDv7X3ukk2wse/2j2d0zn1kq0ExLSOBaey8/61AWbswNGIRhkwTvnxC X-Received: by 2002:a17:906:c53:: with SMTP id t19mr4112218ejf.143.1594724675516; Tue, 14 Jul 2020 04:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594724675; cv=none; d=google.com; s=arc-20160816; b=BbP48CLZqEIvXOb2nfl6H/ZCgJgMaqNq5Z1h5TpOmGfOyy/XiVqGmoI+RAD6Xf/HPN HoCtGWCtUOczB9RGZjd0fvJOLHpVX7/3uarg7vOXSWWwTvxQhBcG1SfGGMSI5XrowE84 FC6WKspJuAAQLzNUrU51FxC9kakaM9KF0dHN841wk87hnj79dtov5tdhek+R7GVAEQTq +g92J+TeAkYeTXAkYIKKShEL+xsnPd9h62lUuZa4/Zo6+K+c/khwBhcI5aHuYIuIKpEF SKYkwPmfa9gHBKZluZwLbkBcdQsVUQ2fbe6In4/8n/1RyJrakZSWhX3DR38CAPIzZYXm 1r/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wO7HFuaPN2PyMlA7RlKTUtBx6uiRejKmUIauiPOSfj0=; b=AS94pioSkDFwfRpCKeXN90kyWDhAMAGq3+0DeeRI5rlCxzi1x8J7r7MMNhawOVjhs7 P7qDdjELiLE4NrFtA2w+O9xefdiBLFGx2QTSo6Yh4EJ7SlZRdHt6T7qdAF0VApXHZUQt alF8dZ38jBzxEL8R1YAGmJ15KAXLBULgelPIJQI7XxRSvXitCURUPE7p6MTZy1/ulJxl Je9yT0loqC8Hd4wYjL0eMCEo6bMbi+pGrTz6qlQTzY1hY8fnn67zwGnGMfIHW8zIrsjE uCWcG8RaMBRXXBNgxpOYIfl3fbXfFbZ4THSr/OkMmSXAKbImQWD/Z5f2iA2C3R32Dlv+ KoSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=OSM7z2Fk; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si11446257edr.380.2020.07.14.04.04.12; Tue, 14 Jul 2020 04:04:35 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=OSM7z2Fk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726852AbgGNLD4 (ORCPT + 99 others); Tue, 14 Jul 2020 07:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbgGNLDz (ORCPT ); Tue, 14 Jul 2020 07:03:55 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7777FC061755; Tue, 14 Jul 2020 04:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=wO7HFuaPN2PyMlA7RlKTUtBx6uiRejKmUIauiPOSfj0=; b=OSM7z2FkP6QewfE+zQd32Z1KZs BFOZmnnBZ7z/1DApnT2fqXZYMia6JVDaAPU57gBg3Z7JSAYi7AOSp62k8IiTrOlQhKLE5qBjJBpjO CuHkmT3M/idtb1smuV+rFuSdAAjHnMPtR1FF2l1JlPxF3MbxJOlIRldz+CiHJ7y0nbhFw6489mFqo 9y+HuQwsBQ53C6cHfxDiG+VK1XSoLo1b4EM5BtkFBoq6yt+wCdYAg4NVmknaO4zsyrZPliZpLbmyR 7i/+PTU+mu9c7dK5zBZZQJX7gnicSDG/QxuBvnO7FUGoR/sc9rNgbA7kaMaw0vjuiF2w+aV+dDcVg l8d0oSQA==; Received: from 089144201169.atnat0010.highway.a1.net ([89.144.201.169] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvIj0-0006Al-CC; Tue, 14 Jul 2020 11:03:50 +0000 From: Christoph Hellwig To: Nick Hu , Greentime Hu , Vincent Chen , Paul Walmsley , Palmer Dabbelt , Andrew Morton , Linus Torvalds Cc: linux-riscv@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] riscv: include in Date: Tue, 14 Jul 2020 12:55:02 +0200 Message-Id: <20200714105505.935079-4-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200714105505.935079-1-hch@lst.de> References: <20200714105505.935079-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To ensure TASK_SIZE is defined for USER_DS. Signed-off-by: Christoph Hellwig --- arch/riscv/include/asm/uaccess.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/include/asm/uaccess.h b/arch/riscv/include/asm/uaccess.h index 8ce9d607b53dce..22de922d6ecb2f 100644 --- a/arch/riscv/include/asm/uaccess.h +++ b/arch/riscv/include/asm/uaccess.h @@ -8,6 +8,8 @@ #ifndef _ASM_RISCV_UACCESS_H #define _ASM_RISCV_UACCESS_H +#include /* for TASK_SIZE */ + /* * User space memory access functions */ -- 2.26.2