Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161095AbWLUAt1 (ORCPT ); Wed, 20 Dec 2006 19:49:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161098AbWLUAt1 (ORCPT ); Wed, 20 Dec 2006 19:49:27 -0500 Received: from smtp.osdl.org ([65.172.181.25]:54076 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161095AbWLUAt0 (ORCPT ); Wed, 20 Dec 2006 19:49:26 -0500 Date: Wed, 20 Dec 2006 16:49:09 -0800 From: Andrew Morton To: Tigran Aivazian Cc: Jean Delvare , LKML Subject: Re: [PATCH] microcode: Fix mc_cpu_notifier section warning Message-Id: <20061220164909.b4494851.akpm@osdl.org> In-Reply-To: References: <20061217173602.abaf4b69.khali@linux-fr.org> <20061219083328.5951571f.khali@linux-fr.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 22 On Tue, 19 Dec 2006 09:10:25 +0000 (GMT) Tigran Aivazian wrote: > Hi Jean, > > On Tue, 19 Dec 2006, Jean Delvare wrote: > > I don't see anything in arch/i386/kernel/microcode.c depending on > > CONFIG_HOTPLUG_CPU (in 2.6.20-rc1), sorry. > > I run 2.6.19.1 and there both mc_cpu_notifier (which your patch modified) > and mc_cpu_callback (which uses mc_cpu_notifier) are inside #ifdef > CONFIG_HOTPLUG_CPU. Yes, we now compile this code unconditionally and rely upon the linker to throw it away. Allegedly, this works. How toolchain-version-dependent it is I don't know. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/