diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-29 06:10:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-29 06:10:50 -0400 |
commit | 35780c8ea7ad5c6d5483244d5f5bf37176fda86a (patch) | |
tree | 2bc34969f558da2a9b3de915e3f2499a959085da /arch/sh/kernel/process_32.c | |
parent | 6ce37a58e334ef773f88283939afc9f4965c7697 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
Merge commit 'v2.6.27-rc1' into x86/urgent
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 921892c351d..3326a45749d 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); |