mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
sparc64: fix sparse warning in process_64.c
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 <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9c2d84deec
commit
d158450427
@ -88,7 +88,7 @@ void arch_cpu_idle(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_HOTPLUG_CPU
|
#ifdef CONFIG_HOTPLUG_CPU
|
||||||
void arch_cpu_idle_dead()
|
void arch_cpu_idle_dead(void)
|
||||||
{
|
{
|
||||||
sched_preempt_enable_no_resched();
|
sched_preempt_enable_no_resched();
|
||||||
cpu_play_dead();
|
cpu_play_dead();
|
||||||
|
Loading…
Reference in New Issue
Block a user