Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp655548imm; Fri, 5 Oct 2018 09:34:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV60QgEEUaAqc5lLjNNWDzSQXA8k56p06oyjJ0YhxhlqIma5cdVLs39S4aPIRUh7YRQFjVTOy X-Received: by 2002:a17:902:9f8c:: with SMTP id g12-v6mr12709183plq.309.1538757274203; Fri, 05 Oct 2018 09:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538757274; cv=none; d=google.com; s=arc-20160816; b=lsExc+gY9nmxL7kt5HHe+epjdHC3ga1tHnL99oq0xAUZZupksmnSoLuE3dBM7urZS0 NQV+/CqX7JYHtKKR+kFSxl1FRrps1UVxwuephL3xoS808DS5B7fBKG+S0pbBKwNocohz SxJC87eFQo7BeUEHYCgNMF7bda5tHkK2lasuWJk/zn5sFdaWom8O3japGmvpmF65T8Qm 8Xulqrp+an7ycNszAgqUvco/wT7LxPVqGwDUSHthD8biF0Qx8CJmDaFDAdErWhd+MD0o 3dcp4R6IY1qGAw/KVyG/JeNqS0J5DemRW64fCV6kyPj0D0UhY0tBjlU8lspwZIbplIQj 06XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sz+wXUF1NzMBQ18ADq7NGJPJLrKUhHzORjoEpJwc4K0=; b=naozH0AHirMyfa4v9oalNuiVS55+dL5avE6NXeSJJawZpAksIbc8yW1fei5CldI3Pj 5ivaSteg3Wf7rPguOJM5XhZ6AaURh5v4VOZNjWZaTuaMhfQV+QNAcg/I9ljGHS18cwGD nX15Tu8RxZnjv9+r3THRLgf36Oqw20wi1hFtHUIuUVtTgNRzB37NztTu/Zw33Sxl3+7d +wytrpROaPpWnHFimvqKiEYmVKxUwIbr2PrVdEQgesnqT68oOhMYGwPooGj4ZTMex0Sd f1Yv2pYVGzQrc96QP78exw6XWnlu/LMmOOQ61to1M+jUtP3jBEGG0pO7VJdGZCRzL93q dkkQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5-v6si9212474pgn.314.2018.10.05.09.34.18; Fri, 05 Oct 2018 09:34:34 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728606AbeJEXcX (ORCPT + 99 others); Fri, 5 Oct 2018 19:32:23 -0400 Received: from foss.arm.com ([217.140.101.70]:55144 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728081AbeJEXcX (ORCPT ); Fri, 5 Oct 2018 19:32:23 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A66D47A9; Fri, 5 Oct 2018 09:32:55 -0700 (PDT) Received: from mbp (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D1BE43F5D3; Fri, 5 Oct 2018 09:32:53 -0700 (PDT) Date: Fri, 5 Oct 2018 17:32:51 +0100 From: Catalin Marinas To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, Palmer Dabbelt , Christoph Hellwig , Albert Ou , Stephen Bates Subject: Re: [PATCH 3/5] arm64: mm: make use of new memblocks_present() helper Message-ID: <20181005163248.naky3huexiiwycra@mbp> References: <20181005161642.2462-1-logang@deltatee.com> <20181005161642.2462-4-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005161642.2462-4-logang@deltatee.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 05, 2018 at 10:16:40AM -0600, Logan Gunthorpe wrote: > Cleanup the arm64_memory_present() function seeing it's very > similar to other arches. > > memblocks_present() is a direct replacement of arm64_memory_present() > > Signed-off-by: Logan Gunthorpe > --- > arch/arm64/mm/init.c | 20 +------------------- > 1 file changed, 1 insertion(+), 19 deletions(-) Acked-by: Catalin Marinas