From patchwork Wed Oct 23 13:08:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 3088471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 88691BF924 for ; Wed, 23 Oct 2013 13:12:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71C43203C4 for ; Wed, 23 Oct 2013 13:12:39 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D73F201CD for ; Wed, 23 Oct 2013 13:12:38 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYyES-0005oP-8P; Wed, 23 Oct 2013 13:12:16 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYyEF-00063L-D3; Wed, 23 Oct 2013 13:12:03 +0000 Received: from mail-bk0-x233.google.com ([2a00:1450:4008:c01::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYyED-000625-0g for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2013 13:12:01 +0000 Received: by mail-bk0-f51.google.com with SMTP id mx10so293002bkb.10 for ; Wed, 23 Oct 2013 06:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=J246GlUGwkNYD1wfYbhotosI1dyKQD3edpYaLmiBcd4=; b=F0mAJ1LGjGyHvVKacmlbCn+HpnB651YxMTpjGKLhhB7boTsp2Nr98KZgIxNYgz43De 428WZ2Dir/xDD7EDTPk3aC0VOqX1YszaD9JI6QtH/Eqt8bzHzZNofRv1gkrrxCS7bx6n edxSXX3hMyfrFsi8fig1FVtxmJnOUzpSZB+XFg+QhJZDZh746UoE+wZDZ2v/44zXafr2 iXmPm1pPoFwB0xgmmxGrgjQ70zRTvHjJkC+/SV+GMatCfe80cPfUXOAol+QAwFDmW6sn HLE1ZLZ1PBrir1YJZOuRDaDp7KhrFNv+UqY7hfdFi3MnqKYr1B/lAMZ+fkNjSjwc6WMJ IarA== X-Received: by 10.204.121.201 with SMTP id i9mr1435981bkr.13.1382533879121; Wed, 23 Oct 2013 06:11:19 -0700 (PDT) Received: from localhost (port-35855.pppoe.wtnet.de. [46.59.190.236]) by mx.google.com with ESMTPSA id nv4sm16190912bkb.3.2013.10.23.06.11.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2013 06:11:18 -0700 (PDT) From: Thierry Reding To: Russell King Subject: [PATCH] ARM: nommu: Implement dummy early_paging_init() Date: Wed, 23 Oct 2013 15:08:48 +0200 Message-Id: <1382533728-19495-1-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131023_091201_268595_70E29486 X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -2.0 (--) Cc: linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No-MMU configurations currenty fail to build because they are missing the early_paging_init() symbol. Signed-off-by: Thierry Reding Acked-by: Olof Johansson --- arch/arm/mm/nommu.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 34d4ab2..5c668b7 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -296,6 +296,15 @@ void __init sanity_check_meminfo(void) } /* + * early_paging_init() recreates boot time page table setup, allowing machines + * to switch over to a high (>4G) address space on LPAE systems + */ +void __init early_paging_init(const struct machine_desc *mdesc, + struct proc_info_list *procinfo) +{ +} + +/* * paging_init() sets up the page tables, initialises the zone memory * maps, and sets up the zero page, bad page and bad page tables. */