LKML Archive on
help / color / mirror / Atom feed
* [PATCH]: Add __init to probe_bigsmp
@ 2007-02-19 20:58 Prarit Bhargava
  0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2007-02-19 20:58 UTC (permalink / raw)
  To: linux-kernel, akpm, mingo; +Cc: Prarit Bhargava

Add __init to probe_bigsmp.  All callers are __init and data being examined
is __initdata.

Resolves MODPOST warning similar to:

WARNING: vmlinux - Section mismatch: reference to from .text between 'probe_bigsmp' (at offset 0xc0401e56) and 'init_apic_ldr'

Signed-off-by: Prarit Bhargava <>

--- linux-2.6.18.i386.orig/arch/i386/mach-generic/bigsmp.c	2007-02-05 13:29:12.000000000 -0500
+++ linux-2.6.18.i386/arch/i386/mach-generic/bigsmp.c	2007-02-13 13:15:06.000000000 -0500
@@ -44,7 +44,7 @@ static struct dmi_system_id __initdata b
-static int probe_bigsmp(void)
+static int __init probe_bigsmp(void)
 	if (def_to_bigsmp)
         	dmi_bigsmp = 1;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-19 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-19 20:58 [PATCH]: Add __init to probe_bigsmp Prarit Bhargava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).