LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] timer: fix section mismatch
@ 2008-01-19 19:57 Randy Dunlap
  2008-01-19 21:43 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-01-19 19:57 UTC (permalink / raw)
  To: lkml; +Cc: tglx, akpm, samr

From: Randy Dunlap <randy.dunlap@oracle.com>

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 <randy.dunlap@oracle.com>
---
 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-19 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-19 19:57 [PATCH] timer: fix section mismatch Randy Dunlap
2008-01-19 21:43 ` Sam Ravnborg

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