From patchwork Tue Apr 14 15:34:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 11488363 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 A4142913 for ; Tue, 14 Apr 2020 15:35:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D3342076D for ; Tue, 14 Apr 2020 15:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586878552; bh=6S7bOxRDdIrMrtVItspLVUHXh44ZuLAv65IyQ3fYC+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=SXjaeEKjKknTZw7k1ShIjGGZXAVSjOARITxLune24cAc9XYzxuQqC7bOKdXhItmZx 0s2C/dLJhEXDl3HDTF7ZGcavdKzMaNIC3dtsiY2JVSD/vhWpm71a4A+hK0dl7jkBN2 atABvG/Fv6OaQP/NFXgGOoQgq51CuxpvB2cQvGy4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440010AbgDNPfe (ORCPT ); Tue, 14 Apr 2020 11:35:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:52254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439913AbgDNPfV (ORCPT ); Tue, 14 Apr 2020 11:35:21 -0400 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 7E5F32075E; Tue, 14 Apr 2020 15:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586878518; bh=6S7bOxRDdIrMrtVItspLVUHXh44ZuLAv65IyQ3fYC+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mZEMW8kf/q46oeG9fz+FRQl8TSpRdjRTtrZLNgN/HF4jhNKAAYMNRhOzKV+P4zd+b UfCiQqUFYiH6Veq6ebfHfpA8mLic28AaPDWwgpSbAe5s+E+ka3AqPu0UaLbUnSflA5 Nv77E+0XM1vZyxYu6mhA2XLvXkWRXH3gRTsXmdbY= From: Mike Rapoport To: Andrew Morton Cc: 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-kernel@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 v4 01/14] h8300: remove usage of __ARCH_USE_5LEVEL_HACK Date: Tue, 14 Apr 2020 18:34:42 +0300 Message-Id: <20200414153455.21744-2-rppt@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200414153455.21744-1-rppt@kernel.org> References: <20200414153455.21744-1-rppt@kernel.org> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@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);