Skip to content

Commit

Permalink
cpuinit fixes in kernel/*
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and torvalds committed Nov 30, 2008
1 parent b038514 commit 8419641
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ void __ref enable_nonboot_cpus(void)
* 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().
*/
void notify_cpu_starting(unsigned int cpu)
void __cpuinit notify_cpu_starting(unsigned int cpu)
{
unsigned long val = CPU_STARTING;

Expand Down
4 changes: 2 additions & 2 deletions kernel/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void profile_hits(int type, void *__pc, unsigned int nr_hits)
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;
Expand Down Expand Up @@ -596,7 +596,7 @@ static int create_hash_tables(void)
#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;

Expand Down

0 comments on commit 8419641

Please sign in to comment.