Commit 84196414 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

cpuinit fixes in kernel/*

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b0385146
...@@ -462,7 +462,7 @@ out: ...@@ -462,7 +462,7 @@ out:
* It must be called by the arch code on the new cpu, before the new cpu * It must be called by the arch code on the new cpu, before the new cpu
* enables interrupts and before the "boot" cpu returns from __cpu_up(). * enables interrupts and before the "boot" cpu returns from __cpu_up().
*/ */
void notify_cpu_starting(unsigned int cpu) void __cpuinit notify_cpu_starting(unsigned int cpu)
{ {
unsigned long val = CPU_STARTING; unsigned long val = CPU_STARTING;
......
...@@ -351,7 +351,7 @@ out: ...@@ -351,7 +351,7 @@ out:
put_cpu(); put_cpu();
} }
static int __devinit profile_cpu_callback(struct notifier_block *info, static int __cpuinit profile_cpu_callback(struct notifier_block *info,
unsigned long action, void *__cpu) unsigned long action, void *__cpu)
{ {
int node, cpu = (unsigned long)__cpu; int node, cpu = (unsigned long)__cpu;
...@@ -596,7 +596,7 @@ out_cleanup: ...@@ -596,7 +596,7 @@ out_cleanup:
#define create_hash_tables() ({ 0; }) #define create_hash_tables() ({ 0; })
#endif #endif
int create_proc_profile(void) int __ref create_proc_profile(void) /* false positive from hotcpu_notifier */
{ {
struct proc_dir_entry *entry; struct proc_dir_entry *entry;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment