Skip to content

Commit

Permalink
sparc64: fix sparse warning in process_64.c
Browse files Browse the repository at this point in the history
Fix following warning:
process_64.c:91:25: warning: non-ANSI function declaration of function 'arch_cpu_idle_dead'

Add proper (void) to function definition

Signed-off-by: Sam Ravnborg <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
sravnborg authored and davem330 committed May 19, 2014
1 parent 9c2d84d commit d158450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void arch_cpu_idle(void)
}

#ifdef CONFIG_HOTPLUG_CPU
void arch_cpu_idle_dead()
void arch_cpu_idle_dead(void)
{
sched_preempt_enable_no_resched();
cpu_play_dead();
Expand Down

0 comments on commit d158450

Please sign in to comment.