From patchwork Thu Oct 1 14:12:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11811517 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 975946CA for ; Thu, 1 Oct 2020 14:13:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5C03B20872 for ; Thu, 1 Oct 2020 14:13:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C03B20872 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3752B6B007B; Thu, 1 Oct 2020 10:12:58 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id F3A5D6B0074; Thu, 1 Oct 2020 10:12:57 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A0DBA900002; Thu, 1 Oct 2020 10:12:57 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0119.hostedemail.com [216.40.44.119]) by kanga.kvack.org (Postfix) with ESMTP id 1BC6D6B006E for ; Thu, 1 Oct 2020 10:12:57 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id AE853181AE88A for ; Thu, 1 Oct 2020 14:12:56 +0000 (UTC) X-FDA: 77323547952.13.vase08_5414e552719c Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id 8DBE018144D51 for ; Thu, 1 Oct 2020 14:12:56 +0000 (UTC) X-Spam-Summary: 1,0,0,c6c978119f4271f4,d41d8cd98f00b204,arnd@arndb.de,,RULES_HIT:41:355:379:541:800:960:988:989:1260:1311:1314:1345:1359:1431:1437:1515:1534:1540:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3351:3740:3865:3866:3867:3870:3871:4250:4321:5007:6261:8784:10004:11026:11473:11657:11658:11914:12043:12160:12296:12297:12555:12895:12986:13069:13311:13357:13894:14096:14181:14384:14394:14721:21080:21451:21627:30054,0,RBL:217.72.192.74:@arndb.de:.lbl8.mailshell.net-66.201.201.201 62.8.6.100;04y8iisjipkgmjmd43mi1jek539qxycepeu3bbeqirnwrqxzigisxn1upfzxjwa.c3pr9snuid3cafkwwmeaxmh8fymrqswjsdi1xa9jxjgkdfq3n85wmuj4q9tud9x.r-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:19,LUA_SUMMARY:none X-HE-Tag: vase08_5414e552719c X-Filterd-Recvd-Size: 3233 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Thu, 1 Oct 2020 14:12:55 +0000 (UTC) Received: from threadripper.lan ([46.223.126.90]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1MfYDO-1kusF41PTs-00fzfk; Thu, 01 Oct 2020 16:12:54 +0200 From: Arnd Bergmann To: Russell King , Christoph Hellwig Cc: Alexander Viro , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Arnd Bergmann Subject: [PATCH v3 09/10] ARM: provide a TASK_SIZE_MAX definition Date: Thu, 1 Oct 2020 16:12:32 +0200 Message-Id: <20201001141233.119343-10-arnd@arndb.de> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201001141233.119343-1-arnd@arndb.de> References: <20201001141233.119343-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:DOv13eMPHGqZxsnqif/m3T728BfBiW7qrK545tQGFsrb67TUR3n 7fs2n1e5laks2MZCVMQQVC1K0fF+GjnDwY6oQsmjBjoLd2f9YmAbdG9jXPHlBQj/RZX8CcU E2uCvfGVtswAxxKV5jbZPMeAaY8cHzsVphcg4rjL+AXg+2Nag/2ozWU/GlMgZnlb7uLfLiH DoQlYgSLJ6ZLPRZPNRyVw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:12YauErV9iU=:TZwvRNoGMGw5djDk2HmyRa UWQe8fCOetDIAV+KKYlye+zJA/In/18cThHGpcQh0D9HPmf3SskcnOhNE9t0793eJ24DZap3K uhTbM8OhF5aayQi8dR2sDdYVMIp4LAgzAvO6SycJkvaXxOQ383GZBEA3XwB3fBljAr6igjFYH SyOrZ3jgO8lLdmo0uxYx9rAopH+hs4Lx92KE/oBPjxnphzvOk5cMs4og4Yyy3fbCZrKrBccUn 65ap1JVwcBL5/8fy+ZFWK0blWlz8GoWU5PEcjTUV8nqWV9NX8Hfu+tlfmStRUzECdc1cq+zca I8RDzqQYlkVnrQMc0hgbpIQuwnFH1EF9DnGCK5uuH70RIF5NFHZPXuALCFn/seJO6a/EZAODt Vsp632APiOepMYYMj0UAkmsSvhYrUNghiFzBs4FpUM48+xpdf6WRNZi3jfM9gCxz9WvAZcdmu OCPnPFNb3JIlnCzI2dh2iTKfYSXY/mWB7l5XVsJdA4IQqAmncpUbu4IXoITrQFl7xAdmSV9yq UIkuZ8tLyOtQUCQU8JlprBRbYzJGHwlFfdW7ajO67G8q34cO11caDG09Ey6o4Fo99HTtn+Nbs 0ObcBGDz4iXU5OUYT6vRC3hgo8iVwmogy62ve0ulTUue2dE2mvKuTNwCuDhP4isM6XVrAADw1 yIG4W6u0UeHMR55UzugDQPzmqolne9ytc0VCVA01om0AgIul0UsrKy83HrWUND620LHfeSZx0 8XjfvP2grTlNSWF2RUbI3k5fb2omHv/8CeA5vbMAmQfaaoc7UHf68NjaYBWo1bWgumbXxGZzo QVLryn5PDC3SDp3LNw9GFhGvvTIGIqKyYbNB75t8DNWQpJqf4zCSdrTh9El1xuKdd/fAydx X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Define TASK_SIZE_MAX to allow building without CONFIG_SET_FS Signed-off-by: Arnd Bergmann --- arch/arm/include/asm/memory.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 99035b5891ef..285b32fd1a12 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h @@ -29,6 +29,7 @@ * TASK_UNMAPPED_BASE - the lower boundary of the mmap VM area */ #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(SZ_16M)) +#define TASK_SIZE_MAX TASK_SIZE #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_16M) /* @@ -91,6 +92,7 @@ extern unsigned long vectors_base; * Fortunately, there is no reference for this in noMMU mode, for now. */ #define TASK_SIZE UL(0xffffffff) +#define TASK_SIZE_MAX TASK_SIZE #ifndef TASK_UNMAPPED_BASE #define TASK_UNMAPPED_BASE UL(0x00000000)