From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933248Ab2DKUxk (ORCPT ); Wed, 11 Apr 2012 16:53:40 -0400 Received: from smtp.snhosting.dk ([87.238.248.203]:58667 "EHLO smtp.domainteam.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760165Ab2DKUxj (ORCPT ); Wed, 11 Apr 2012 16:53:39 -0400 Date: Wed, 11 Apr 2012 22:53:37 +0200 From: Sam Ravnborg To: Tejun Heo Cc: Yinghai Lu , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , lkml Subject: Re: [PATCH] x86: drop obsolete ARCH_BOOTMEM support Message-ID: <20120411205337.GA29238@merkur.ravnborg.org> References: <20120406124735.GA6920@merkur.ravnborg.org> <20120411163016.GC12887@google.com> <20120411171115.GE12887@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120411171115.GE12887@google.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 11, 2012 at 10:11:15AM -0700, Tejun Heo wrote: > On Wed, Apr 11, 2012 at 10:03:50AM -0700, Yinghai Lu wrote: > > On Wed, Apr 11, 2012 at 9:30 AM, Tejun Heo wrote: > > > On Fri, Apr 06, 2012 at 02:47:35PM +0200, Sam Ravnborg wrote: > > >> From ae6cdc767f973f39cb205af4b80ff13f35a1b66e Mon Sep 17 00:00:00 2001 > > >> From: Sam Ravnborg > > >> Date: Fri, 6 Apr 2012 13:37:08 +0200 > > >> Subject: [PATCH] x86: drop obsolete ARCH_BOOTMEM support > > >> > > >> x86 unconditionally uses NO_BOOTMEM so there is no use > > >> of the HAVE_ARCH_BOOTMEM support as mm/bootmem.c is the > > >> only file referencing this symbol. > > >> > > >> bootmem_arch_preferred_node() is the function referred > > >> in the mm/bootmem.c code and can thuis be dropped too. > > >> > > >> x86 was the sole user of HAVE_ARCH_BOOTMEM - so there is > > >> an opportunity to clean up a little in mm/bootmem.c too > > >> if we do not expect other users to emerge. > > > > > > avr32 seems to have it too? > > > > avr32 is: > > > > config HAVE_ARCH_BOOTMEM > > def_bool n > > > > so that is not used with avr32 > > Yeah, then better remove the reference from there too, right? Yep - will do tomorrow. Sam