LKML Archive on
help / color / mirror / Atom feed
From: Randy Dunlap <>
To: lkml <>
Cc: tglx <>, akpm <>,
	samr <>
Subject: [PATCH] timer: fix section mismatch
Date: Sat, 19 Jan 2008 11:57:15 -0800	[thread overview]
Message-ID: <> (raw)

From: Randy Dunlap <>

The caller is __cpuinit.
Also, this code block and its caller are inside #ifdef CONFIG_HOTPLUG_CPU
blocks, so this code should reflect that config symbol's usage.

WARNING: vmlinux.o(.text+0x4252f): Section mismatch: reference to .init.text: (between 'timer_cpu_notify' and 'msleep')

Signed-off-by: Randy Dunlap <>
 kernel/timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc8-git2.orig/kernel/timer.c
+++ linux-2.6.24-rc8-git2/kernel/timer.c
@@ -1289,7 +1289,7 @@ static void migrate_timer_list(tvec_base
-static void __devinit migrate_timers(int cpu)
+static void __cpuinit migrate_timers(int cpu)
 	tvec_base_t *old_base;
 	tvec_base_t *new_base;

             reply	other threads:[~2008-01-19 19:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-19 19:57 Randy Dunlap [this message]
2008-01-19 21:43 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH] timer: fix section mismatch' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).