X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fprofile.c;h=dc41827fbfeea474c809ebc3adb6e54edcedb861;hb=eae34c67940f2a71837ed30d571b93572186d46b;hp=9830a037d8db1543215f02c01918af3fd980bb10;hpb=194dcdba5a11a0238aef7ed91f32df77cb31505b;p=linux-2.6-omap-h63xx.git diff --git a/kernel/profile.c b/kernel/profile.c index 9830a037d8d..dc41827fbfe 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -351,7 +351,7 @@ out: 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) { int node, cpu = (unsigned long)__cpu; @@ -544,7 +544,7 @@ static const struct file_operations proc_profile_operations = { }; #ifdef CONFIG_SMP -static void __init profile_nop(void *unused) +static inline void profile_nop(void *unused) { } @@ -596,7 +596,7 @@ out_cleanup: #define create_hash_tables() ({ 0; }) #endif -int create_proc_profile(void) +int __ref create_proc_profile(void) /* false positive from hotcpu_notifier */ { struct proc_dir_entry *entry;