lkml.org 
[lkml]   [2006]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] microcode: Fix mc_cpu_notifier section warning
On Tue, 19 Dec 2006 09:10:25 +0000 (GMT)
Tigran Aivazian <tigran@aivazian.fsnet.co.uk> 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/

\
 
 \ /
  Last update: 2006-12-21 01:51    [W:0.036 / U:1.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site