Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1000924imm; Wed, 26 Sep 2018 10:00:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63rT6OK0s2URV6nGJ6Sw+jn4n4X7mhb9jUEh/nLEriyaGy+or5XUxtS3rHWQmvcrOy6SxKB X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr6611694pgt.164.1537981236024; Wed, 26 Sep 2018 10:00:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537981235; cv=none; d=google.com; s=arc-20160816; b=uE4ArPE2qN2/hGNcrHlBSzxA42nwgjxi6Vq5OiiyItVqDZ9vc09RRV5NeuldLNSCmg EzJG682djO5vx3tzFQJoJ0DWPwphHtzcwHErw55r1h1JeMU1nOYvjqNrj+tliKNgcK4B pn6EDhnl4Tew5KHvnpAzogfH5OOn8xpEwT4Y5BVC9NJG26PqczDiztMcAKDCnLffCrUs LMDeLnDPt8HJojb+a/vA/ihP076tGulfF3a3ufX+D4/i3vr5UBslCJJrzT9c6ZnbdMkG PP1sf8C+LTNW67vyJjB+IseFJW/rM7D1vCQ7Sp78QUzuJlHvrwGVid8Z7mIemxf0z/It xJVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sk4phsQMsWm/uLqtYjyTCCVZkWmOftfD6xEiXH8xJ4U=; b=eYl/yvWk/tGpIeJuCqqhnDTy6mrRDLX01QWAeRQyhmDOCHsg4iW/lc9AFdef1MsGW0 k6xFxXNTQiefG7dwyiKBPM+cG43fksvyST3+1/kbS20RrkmQVVp5SyrMk2YC/k8gY0ce 2uSsxEPNrgaAk9uhIgWXemSXP9fQJRDUXt4Kw0tXjx4bq+JMoiWynU9TUkPOWurKLIo/ J/NiojiEfVauzvyb5Kl260r2HSnBI8rIbo9R1WweiAA8Kk1CmRWdwVk+SaurHMmLv+rQ 2UhiLt9CUAfp12MrBF7OZp1qIrC6d7RGl6UQdExuO6ltmhGXaU8Njasc8GWruvlQoMaR qcEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oHraBigd; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u91-v6si5797120plb.73.2018.09.26.10.00.19; Wed, 26 Sep 2018 10:00:35 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oHraBigd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728543AbeIZXMq (ORCPT + 99 others); Wed, 26 Sep 2018 19:12:46 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:37688 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727280AbeIZXMp (ORCPT ); Wed, 26 Sep 2018 19:12:45 -0400 Received: by mail-it1-f193.google.com with SMTP id m9-v6so3840326ita.2; Wed, 26 Sep 2018 09:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sk4phsQMsWm/uLqtYjyTCCVZkWmOftfD6xEiXH8xJ4U=; b=oHraBigdw5BEX0LUXs9GlUBIE7zHK53SIga1HWIx81sxIHv+NoQQonTbfj0UDv0Z+J EQSG24+ZrTq2bjXRoMcoLR9rgJsgajjfUmZPLqE2bDOYvYgnz360+UkBGbEDzcJnF0tq 6K5wSTz3jRyehlYV6yPMPvwuOsdYapx5l6cpXY8Mkbi6V3d1SE8CtJm9K5lGwAdAUrlN acztf9YRzQth69K5a8XlkVNbBBuLDtkA07DrDWyTfFom8LBLIbsW7dzc+R1LcNm7lpk9 76Exn3TO6BvTde5ueWmipdKNRWdyh+ywfJROOPd3cOVszLtHI3cLSo+bqjdR/FhrC/tH cEAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sk4phsQMsWm/uLqtYjyTCCVZkWmOftfD6xEiXH8xJ4U=; b=eQzfdLBGDx2n0RyapX5cjmYJ6twjOf21ab3Na8fORT88gMohtfChtvK2j2jb8kaCFg qBy1NOUEdapiPkRhj+99ntmdJS20v87ywnkRvwMD2gjs9qY80DvWBclNgm5FRlFNW2qx uR8ia+5odEbahxf+PGsx1IdnhXq7go19xxeDYKHO6LM7ilakUmVuPU2y4rurKWe9TZqR yWcKYoQRm5i8sg93l1fPxIOV4xSoqF2vrGVpJliFrGd74BZXR6jZpiJLeRPHiraUo1uy VCnJgQl+AadzmK+sIjGE+zo+ZxBmuPV3QLSqxNet8eopIlQo7c4vOmFqsmSeUTElyQHq WZvg== X-Gm-Message-State: ABuFfoiBFkcSiP6X7uOUmVJG8DjPR4YUGNYpxyULUGXXwbvpAVQ5Lq00 0nkYczvV4CA4Sh6uQX4EMy5qs68ZuMOHuhGk3yo= X-Received: by 2002:a24:9a83:: with SMTP id l125-v6mr6225072ite.76.1537981132489; Wed, 26 Sep 2018 09:58:52 -0700 (PDT) MIME-Version: 1.0 References: <1536927045-23536-1-git-send-email-rppt@linux.vnet.ibm.com> <1536927045-23536-4-git-send-email-rppt@linux.vnet.ibm.com> In-Reply-To: <1536927045-23536-4-git-send-email-rppt@linux.vnet.ibm.com> From: Alexander Duyck Date: Wed, 26 Sep 2018 09:58:41 -0700 Message-ID: Subject: Re: [PATCH 03/30] mm: remove CONFIG_HAVE_MEMBLOCK To: rppt@linux.vnet.ibm.com Cc: linux-mm , Andrew Morton , Catalin Marinas , chris@zankel.net, David Miller , Geert Uytterhoeven , green.hu@gmail.com, Greg KH , gxt@pku.edu.cn, Ingo Molnar , jejb@parisc-linux.org, jonas@southpole.se, Jonathan Corbet , lftan@altera.com, msalter@redhat.com, Martin Schwidefsky , mattst88@gmail.com, mpe@ellerman.id.au, Michal Hocko , monstr@monstr.eu, palmer@sifive.com, paul.burton@mips.com, rkuo@codeaurora.org, richard@nod.at, dalias@libc.org, Russell King - ARM Linux , fancer.lancer@gmail.com, Thomas Gleixner , Tony Luck , vgupta@synopsys.com, Yoshinori Sato , linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, LKML , linux-m68k@lists.linux-m68k.org, linux-mips@linux-mips.org, linux-parisc@vger.kernel.org, "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, sparclinux@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 14, 2018 at 5:11 AM Mike Rapoport wrote: > > All architecures use memblock for early memory management. There is no need > for the CONFIG_HAVE_MEMBLOCK configuration option. > > Signed-off-by: Mike Rapoport > diff --git a/include/linux/memblock.h b/include/linux/memblock.h > index 5169205..4ae91fc 100644 > --- a/include/linux/memblock.h > +++ b/include/linux/memblock.h > @@ -2,7 +2,6 @@ > #define _LINUX_MEMBLOCK_H > #ifdef __KERNEL__ > > -#ifdef CONFIG_HAVE_MEMBLOCK > /* > * Logical memory blocks. > * > @@ -460,7 +459,6 @@ static inline phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t align) > { > return 0; > } > -#endif /* CONFIG_HAVE_MEMBLOCK */ > > #endif /* __KERNEL__ */ There was an #else above this section and I believe it and the code after it needs to be stripped as well.