Sam Ravnborg
69e97c028b
x86: silence section mismatch warning in smpboot_64.c
...
Silence the following warning:
WARNING: o-x86_64/arch/x86/kernel/built-in.o(.text+0x17cd3): Section mismatch in reference from the function remove_cpu_from_maps() to the variable .cpuinit.data:cpu_initialized
remove_cpu:maps() had a single user: __cpu_disable() so
mark it static and annotate it with __ref to silence the
warning from modpost.
_cpu_disable() has a single user in kernel/cpu.c:
=> take_cpu_down()
which again has a single user in the following call:
=> __stop_machine_run(take_cpu_down, &tcd_param, cpu);
Here a kthread is created.
So maybe the warning is correct and the right fix is to
remove the __cpuinitdata annotation of cpu_initialized?
Note: The analysis were disturbed by the fact that we had a variable
with the same name in cpu/common.c - but this is 32 bit only]
Note: Should smpboot_64 use cpu_clear()?
Signed-off-by: Sam Ravnborg <sam@ravnborg.org >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-02-01 17:49:41 +01:00
..
2008-01-30 13:32:54 +01:00
2008-01-31 22:05:45 +01:00
2007-10-17 21:19:04 +02:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:21 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:31 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:33:23 +01:00
2007-10-19 11:53:33 -07:00
2007-12-03 17:17:10 +01:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-01-30 13:33:32 +01:00
2008-02-01 17:49:41 +01:00
2007-10-16 17:38:31 -07:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:34:10 +01:00
2008-01-30 13:34:10 +01:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:34:10 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:32:08 +01:00
2008-01-30 13:33:11 +01:00
2007-10-19 20:35:03 +02:00
2008-01-30 13:33:35 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:33:28 +01:00
2008-01-30 13:33:06 +01:00
2008-01-30 13:33:31 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:31:55 +01:00
2008-01-24 20:40:40 -08:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:30:05 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:31:17 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:32:51 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:30:47 +01:00
2008-01-30 13:34:09 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-24 20:40:04 -08:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:32:10 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:30:32 +01:00
2007-10-17 20:15:51 +02:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:34:07 +01:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:30:18 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:32:54 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:36 +01:00
2008-01-30 13:33:25 +01:00
2008-01-30 13:32:40 +01:00
2008-01-31 22:05:45 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:34:11 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:33:53 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:31:13 +01:00
2008-01-30 13:33:44 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:12 +01:00
2007-10-20 01:13:56 +02:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:30:56 +01:00
2007-10-17 08:42:55 -07:00
2008-01-30 13:31:07 +01:00
2007-10-17 20:16:12 +02:00
2008-01-30 23:27:58 +01:00
2008-01-30 13:34:08 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:33:37 +01:00
2007-10-17 20:16:08 +02:00
2007-10-17 20:16:08 +02:00
2008-01-30 13:33:49 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:32:50 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:24 +01:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00