diff options
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/kernel/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/kernel/process.c b/arch/h8300/kernel/process.c index dd344f112cfe..16ccddc69c2b 100644 --- a/arch/h8300/kernel/process.c +++ b/arch/h8300/kernel/process.c | |||
@@ -54,7 +54,7 @@ asmlinkage void ret_from_fork(void); | |||
54 | * The idle loop on an H8/300.. | 54 | * The idle loop on an H8/300.. |
55 | */ | 55 | */ |
56 | #if !defined(CONFIG_H8300H_SIM) && !defined(CONFIG_H8S_SIM) | 56 | #if !defined(CONFIG_H8300H_SIM) && !defined(CONFIG_H8S_SIM) |
57 | void default_idle(void) | 57 | static void default_idle(void) |
58 | { | 58 | { |
59 | local_irq_disable(); | 59 | local_irq_disable(); |
60 | if (!need_resched()) { | 60 | if (!need_resched()) { |
@@ -65,7 +65,7 @@ void default_idle(void) | |||
65 | local_irq_enable(); | 65 | local_irq_enable(); |
66 | } | 66 | } |
67 | #else | 67 | #else |
68 | void default_idle(void) | 68 | static void default_idle(void) |
69 | { | 69 | { |
70 | cpu_relax(); | 70 | cpu_relax(); |
71 | } | 71 | } |