From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B4F6C43387 for ; Wed, 9 Jan 2019 20:21:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3CA34214C6 for ; Wed, 9 Jan 2019 20:21:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726673AbfAIUVI (ORCPT ); Wed, 9 Jan 2019 15:21:08 -0500 Received: from ale.deltatee.com ([207.54.116.67]:60230 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfAIUVI (ORCPT ); Wed, 9 Jan 2019 15:21:08 -0500 Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ghKLa-0005pF-Ei; Wed, 09 Jan 2019 13:21:07 -0700 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.89) (envelope-from ) id 1ghKLW-0001p8-Kg; Wed, 09 Jan 2019 13:21:02 -0700 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Will Deacon , Catalin Marinas , Russell King , Stephen Bates , Logan Gunthorpe Date: Wed, 9 Jan 2019 13:20:58 -0700 Message-Id: <20190109202100.6968-1-logang@deltatee.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, will.deacon@arm.com, catalin.marinas@arm.com, linux@armlinux.org.uk, sbates@raithlin.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com Subject: [PATCH 0/2] Cleanup ARM arches to use common memblocks_present X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, We've recently added a new memblocks_present() helper macro to clean up some common code with ARM and code we are adding in RISC-V. The commit that added the helper is: 9def36e0fa9a ("mm/sparse: add common helper to mark all memblocks present") This series includes two patches to switch ARM and ARM64 to use the new function. Thanks, Logan -- Logan Gunthorpe (2): ARM: mm: make use of new memblocks_present() helper arm64: mm: make use of new memblocks_present() helper arch/arm/mm/init.c | 17 +---------------- arch/arm64/mm/init.c | 20 +------------------- 2 files changed, 2 insertions(+), 35 deletions(-) -- 2.19.0