linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] kernel/timer.c section fixes
@ 2007-12-11 22:22 Adrian Bunk
  2007-12-12 10:15 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-12-11 22:22 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar; +Cc: linux-kernel

This patch fixes the following section mismatches with CONFIG_HOTPLUG=n,
CONFIG_HOTPLUG_CPU=y:

<--  snip  -->

...
WARNING: vmlinux.o(.text+0x41cd3): Section mismatch: reference to .init.data:tvec_base_done.22610 (between 'timer_cpu_notify' and 'run_timer_softirq')
WARNING: vmlinux.o(.text+0x41d67): Section mismatch: reference to .init.data:tvec_base_done.22610 (between 'timer_cpu_notify' and 'run_timer_softirq')
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
5898f1ca82c5a536b65b3ee26099b67316549664 
diff --git a/kernel/timer.c b/kernel/timer.c
index a05817c..d4527dc 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1219,11 +1219,11 @@ asmlinkage long sys_sysinfo(struct sysinfo __user *info)
  */
 static struct lock_class_key base_lock_keys[NR_CPUS];
 
-static int __devinit init_timers_cpu(int cpu)
+static int __cpuinit init_timers_cpu(int cpu)
 {
 	int j;
 	tvec_base_t *base;
-	static char __devinitdata tvec_base_done[NR_CPUS];
+	static char __cpuinitdata tvec_base_done[NR_CPUS];
 
 	if (!tvec_base_done[cpu]) {
 		static char boot_done;


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

* Re: [2.6 patch] kernel/timer.c section fixes
  2007-12-11 22:22 [2.6 patch] kernel/timer.c section fixes Adrian Bunk
@ 2007-12-12 10:15 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2007-12-12 10:15 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Thomas Gleixner, linux-kernel


* Adrian Bunk <bunk@kernel.org> wrote:

> This patch fixes the following section mismatches with 
> CONFIG_HOTPLUG=n, CONFIG_HOTPLUG_CPU=y:

thanks, applied.

	Ingo

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

end of thread, other threads:[~2007-12-12 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 22:22 [2.6 patch] kernel/timer.c section fixes Adrian Bunk
2007-12-12 10:15 ` Ingo Molnar

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