diff options
Diffstat (limited to 'arch/sh/kernel/process_32.c')
-rw-r--r-- | arch/sh/kernel/process_32.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 921892c351da..3326a45749d9 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
@@ -34,18 +34,6 @@ void (*pm_idle)(void); | |||
34 | void (*pm_power_off)(void); | 34 | void (*pm_power_off)(void); |
35 | EXPORT_SYMBOL(pm_power_off); | 35 | EXPORT_SYMBOL(pm_power_off); |
36 | 36 | ||
37 | void disable_hlt(void) | ||
38 | { | ||
39 | hlt_counter++; | ||
40 | } | ||
41 | EXPORT_SYMBOL(disable_hlt); | ||
42 | |||
43 | void enable_hlt(void) | ||
44 | { | ||
45 | hlt_counter--; | ||
46 | } | ||
47 | EXPORT_SYMBOL(enable_hlt); | ||
48 | |||
49 | static int __init nohlt_setup(char *__unused) | 37 | static int __init nohlt_setup(char *__unused) |
50 | { | 38 | { |
51 | hlt_counter = 1; | 39 | hlt_counter = 1; |
@@ -60,7 +48,7 @@ static int __init hlt_setup(char *__unused) | |||
60 | } | 48 | } |
61 | __setup("hlt", hlt_setup); | 49 | __setup("hlt", hlt_setup); |
62 | 50 | ||
63 | void default_idle(void) | 51 | static void default_idle(void) |
64 | { | 52 | { |
65 | if (!hlt_counter) { | 53 | if (!hlt_counter) { |
66 | clear_thread_flag(TIF_POLLING_NRFLAG); | 54 | clear_thread_flag(TIF_POLLING_NRFLAG); |