Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3594134ybx; Sun, 3 Nov 2019 23:00:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwME89gaSA/IDeaaB/r+WZM5l2ysYe44MVRlVafLUx7CicloILWwAN0wCsZA6ndEyIeiNyW X-Received: by 2002:aa7:d709:: with SMTP id t9mr26099069edq.266.1572850831650; Sun, 03 Nov 2019 23:00:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572850831; cv=none; d=google.com; s=arc-20160816; b=lCLZq9DdnQnIRojyftt7ZiNHVzaEy+aV3quWfk9Qoj1G4NTv6BmxVNQ7OjYt8Qb/X0 NHX6JNXc4yaCczar5zfr0lt8SUnW890JaRC1+PNCs1zaUJnk3GolZmwjqg+vc9APy4ju 5ADIthqBFog/HpzfPUSqFpDD7TZABfhVa77KOZz2b3ZN0qsILpXtlVJNqV5XuBk5rdcB /0sgJD/hpVyr/j8EhnP7Rl9VS7w81MNL8KsvkysALP+FuRAD0uQeO/phMvJYe/zv88ti Tq2ZcYJ0I77oP9pnshWpkjIrx77ZDalxSId1/nHQ6VBlFZiCk+obyo0xe5vnn3Ngmr7R IpZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=povmB+gp6CTEsNGt7LU5CIpHwSE6nXF86M2x1ww+i+M=; b=cxBj6kFRI87Uu9V4K2AncaqGg22gbdTX71ZdPI5AKkuO2lGcWlS82JUpQbk+qUBIEJ kc5ELvUbMP97lAVg9JkWECy+CMr7HAU1Egum6CSRJ9Z/SETvwCDvYVdbPfKxOI7o7zsN QIbaW+cTDjGRIJQ2qtHAlqDe+kns31wiOKunhw1J86wv0H2OfFZEvUmGVvff8iA5b3rL HJ+Gomc1dJaR1ER4s1gCxx/Um4yUj3RmbTSQsmcHcv43iRiZeUPWfnMwFWdWfv+3V4dg zOz+J7rrqxF462+I+aRC/RzODXxKKCuH7yaYtuaqLQadE4uPEMw/TlDrlmO0nKLgrEaU f/lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SEYNE0An; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pw16si1468745ejb.119.2019.11.03.23.00.08; Sun, 03 Nov 2019 23:00:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SEYNE0An; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728175AbfKDG5C (ORCPT + 99 others); Mon, 4 Nov 2019 01:57:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:60648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbfKDG5C (ORCPT ); Mon, 4 Nov 2019 01:57:02 -0500 Received: from aquarius.haifa.ibm.com (nesher1.haifa.il.ibm.com [195.110.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1DCEE222C6; Mon, 4 Nov 2019 06:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572850621; bh=oG08x38Bw8t//MmcsXiMwfmG8dPNjLcnVisdmtiKgLI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SEYNE0An9hbEjENR3+k2a4szmqSe016GAxmPWUzX+qq4EfO8NW2Mlsy4Ttd2UUhKM wy5QolUZVmKdtCG2iy3BtTTO7/xLimV51kz/mCT5ENFFXWeXV82DXk015Ea7ITOvw5 fGDJJpZRgZ9SGhD58U09A9iSXdGvNvO1Pjv3jB7Q= From: Mike Rapoport To: linux-mm@kvack.org Cc: Andrew Morton , Anton Ivanov , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Greg Ungerer , Helge Deller , "James E.J. Bottomley" , Jeff Dike , "Kirill A. Shutemov" , Linus Torvalds , Mark Salter , Matt Turner , Michal Simek , Peter Rosin , Richard Weinberger , Rolf Eike Beer , Russell King , Sam Creasey , Vincent Chen , Vineet Gupta , Mike Rapoport , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, sparclinux@vger.kernel.org, Mike Rapoport Subject: [PATCH v3 02/13] arm: nommu: use pgtable-nopud instead of 4level-fixup Date: Mon, 4 Nov 2019 08:56:16 +0200 Message-Id: <1572850587-20314-3-git-send-email-rppt@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1572850587-20314-1-git-send-email-rppt@kernel.org> References: <1572850587-20314-1-git-send-email-rppt@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mike Rapoport The generic nommu implementation of page table manipulation takes care of folding of the upper levels and does not require fixups. Simply replace of include/asm-generic/4level-fixup.h with include/asm-generic/pgtable-nopud.h. Signed-off-by: Mike Rapoport Acked-by: Russell King --- arch/arm/include/asm/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index 3ae120c..eabcb48 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h @@ -12,7 +12,7 @@ #ifndef CONFIG_MMU -#include +#include #include #else -- 2.7.4