From patchwork Mon Oct 26 03:53:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 55520 Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp968543lbq; Sun, 25 Oct 2015 20:55:00 -0700 (PDT) X-Received: by 10.68.103.194 with SMTP id fy2mr20096511pbb.31.1445831699956; Sun, 25 Oct 2015 20:54:59 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id a8si50143437pbu.107.2015.10.25.20.54.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Oct 2015 20:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqYrA-0000VY-Gx; Mon, 26 Oct 2015 03:54:00 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqYr6-0000Mx-TU for linux-arm-kernel@lists.infradead.org; Mon, 26 Oct 2015 03:53:57 +0000 Received: by padhk11 with SMTP id hk11so174641218pad.1 for ; Sun, 25 Oct 2015 20:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=80FV1KXqt/4yCmXgbt4gy0gg+Hg3AaIaNUhIDciPwu4=; b=oNoIJMqWGXLRnlbQ7hcKlUAlqxfLzPi434J6dNlP/7R1wOu7z0Bx/OVVcz2KPCVnHF BCwqGOD5f7Gri4rDrIoViho9dVVgnu0DL9pnI0/gMsm2ttX4dTvnb3T8UA8ifOyybeUz ZX5W1Cl+WSMwvd0MNeAycmUZgxj2bWQa9kIoystJ3op4WDM0ESG1RMGqypY3ZcrWN1pS soyMY6ZqugNB+TxCUFSFgFkPUM0BcJlUrGYYm9E0qqEBmiyAyaZmnMKtQjWi/pOpn3ra 0qCOmSRZBEMyga/EMBQnAyj5ek80cmtpi41pPNlAkAtcinDrxVM9kRiMPtkDjfv58KIv xcIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=80FV1KXqt/4yCmXgbt4gy0gg+Hg3AaIaNUhIDciPwu4=; b=Ub7OArMtwRhlzuODYGDntCMD7EMcS1HAdGqc9y1VlIHTqVthRcxQDrJ+LqakxOcqOF C/rQG9x3intKknSehzUcMJy96GvdRxNmIw1t9t2CxtJkwQHYzzHjR3uNdXt1t9BpppZq +a/xTn/jDIbhMsDdAXKTtJH/V1SN8vaa9yXbr7+noru0qPOaF7GusQGdlvDeuVnNVZSe RN2r7l/+ZlTl6d250+MSrqBBaVIWuQ12nEGMjP1MugiiIKQEKVNRFmIZq/srmbqUP21w Q4ghEssCyYTPYonfTd5uG0kv99KcBFKxNjxEWPpdq6T37w5jlHN0lFO8/8/xSJVh3nbW fkhw== X-Gm-Message-State: ALoCoQnFgzwMwBuRz1x7GHMT6fwTPnjiqSiFlQi3hZUYxB+df66zTNCCw3RmnUw0vol6891SKZ6K X-Received: by 10.66.132.9 with SMTP id oq9mr19463327pab.101.1445831615007; Sun, 25 Oct 2015 20:53:35 -0700 (PDT) Received: from jessie.localdomain ([58.123.138.205]) by smtp.gmail.com with ESMTPSA id hq1sm30947447pbb.43.2015.10.25.20.53.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Oct 2015 20:53:34 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com Subject: [PATCH] arm64: remove bogus TASK_SIZE_64 check Date: Mon, 26 Oct 2015 12:53:17 +0900 Message-Id: <1445831597-5680-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151025_205357_059012_6D1370E5 X-CRM114-Status: GOOD ( 10.62 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:22e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The comparison between TASK_SIZE_64 and MODULES_VADDR does not make any sense on arm64, it is simply something that has been carried over from the ARM port which arm64 is based on. So drop it. Signed-off-by: Ard Biesheuvel --- arch/arm64/include/asm/memory.h | 4 ---- 1 file changed, 4 deletions(-) -- 2.1.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h index 11ccf6c09533..37f3538a2924 100644 --- a/arch/arm64/include/asm/memory.h +++ b/arch/arm64/include/asm/memory.h @@ -70,10 +70,6 @@ #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) -#if TASK_SIZE_64 > MODULES_VADDR -#error Top of 64-bit user space clashes with start of module space -#endif - /* * Physical vs virtual RAM address space conversion. These are * private definitions which should NOT be used outside memory.h