Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3567568ybv; Sun, 16 Feb 2020 00:19:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwIMSH3UevDzzuHaTpZgNiLTUpszjxuEebhd3wwMMIBcUTe0HfwN2GXFMfRj9QuGxMBspfR X-Received: by 2002:aca:e106:: with SMTP id y6mr6920668oig.131.1581841180021; Sun, 16 Feb 2020 00:19:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581841180; cv=none; d=google.com; s=arc-20160816; b=gyLR1ilzTI8trvEk89lVOlu3wzCVNLB8VJuMk8UNxm8jUGH1iX/cgjS/rpg3lG9inR eVYrUGJ5JVnuo22ANHeBNBFkibb9YmO9QaxnQf/cLKSRup1CssLddZuf/+IcKtpyD/mx MrR3lE9bm1KSmxapbq2CTXgqodqQIEt2Cx0J8g++o3+myt+cUx/xgudQcd8qg4MDvENx DX+/TwOx36QfrMr4mYR7B9XeRMRWKWnrIhQVqGtJTGzKve/4hrM+bNWlv8DWHbI0Zd0D AKAqMTfTrAuG1XI7DGwlzz8Ngc1IzwahzUmaKrOSKuVNYr7ukIaocclDWSpG61A2WU12 eNkA== 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=bISW8gQbuOFC35igUFhe55Krolgd6vrSqI4ItQnR9+I=; b=FEOZw7BP5MQgAZKaZhDasbMadoEFaXy9GTtQHWBRClRITsT81X7JJawSC0uUF63aPs fY+sjRn79wRga2il5Nme0Nc5JXDPAKWXXRodePURBcKf26RdJT8GudwZqbZQMIr0LZqY 2kiWZtehVcrqEgNgA6cYrgoOYiGWEJ4o9zskQxVjoN/v4C+mGs8mi6GOh3j7i2Cj7fYr m9UNosXYEtaYrEdObqhaQtFO/z6BiJiWTE3iHE9xFenyDvwUsqzkCNID7FtOa+emnKnR f+IvRn3Rp7tDJ+B1D2eNXeSDdM/CahnLsaA8C0DlJkzlyBknR+YgTmav+QJbL5X0SmZh YVNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IrGzuxCA; 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 j20si5626727otp.147.2020.02.16.00.19.27; Sun, 16 Feb 2020 00:19:39 -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=IrGzuxCA; 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 S1726939AbgBPITQ (ORCPT + 99 others); Sun, 16 Feb 2020 03:19:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:56240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbgBPITP (ORCPT ); Sun, 16 Feb 2020 03:19:15 -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 307B924649; Sun, 16 Feb 2020 08:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581841154; bh=4sQuAppJ9V8uQLBiWjuxN6eOuFTm+NWRpi38gIPMGaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IrGzuxCA83oW5cfkOQW52qTCQfOb6o9wxjHpc3wOuyz4EK2kMGqIUugemS+6YI4BO V3FyRmzLm47eolAh1sBEeZ4pMx8QjAHnGXET3Fp7oLSet5xZdlNokN0IZY1S1YV/J/ v4ptml2vFK1l6zTGw2jXz8ycZs4NLPGZ6CY+3Gu8= From: Mike Rapoport To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Arnd Bergmann , Benjamin Herrenschmidt , Brian Cain , Catalin Marinas , Christophe Leroy , Fenghua Yu , Geert Uytterhoeven , Guan Xuetao , James Morse , Jonas Bonn , Julien Thierry , Ley Foon Tan , Marc Zyngier , Michael Ellerman , Paul Mackerras , Rich Felker , Russell King , Stafford Horne , Stefan Kristiansson , Suzuki K Poulose , Tony Luck , Will Deacon , Yoshinori Sato , kvmarm@lists.cs.columbia.edu, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, uclinux-h8-devel@lists.sourceforge.jp, Mike Rapoport , Mike Rapoport Subject: [PATCH v2 02/13] h8300: remove usage of __ARCH_USE_5LEVEL_HACK Date: Sun, 16 Feb 2020 10:18:32 +0200 Message-Id: <20200216081843.28670-3-rppt@kernel.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200216081843.28670-1-rppt@kernel.org> References: <20200216081843.28670-1-rppt@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mike Rapoport h8300 is a nommu architecture and does not require fixup for upper layers of the page tables because it is already handled by the generic nommu implementation. Remove definition of __ARCH_USE_5LEVEL_HACK in arch/h8300/include/asm/pgtable.h Signed-off-by: Mike Rapoport --- arch/h8300/include/asm/pgtable.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/h8300/include/asm/pgtable.h b/arch/h8300/include/asm/pgtable.h index 4d00152fab58..f00828720dc4 100644 --- a/arch/h8300/include/asm/pgtable.h +++ b/arch/h8300/include/asm/pgtable.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _H8300_PGTABLE_H #define _H8300_PGTABLE_H -#define __ARCH_USE_5LEVEL_HACK #include #include extern void paging_init(void); -- 2.24.0