diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-28 17:32:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 17:32:00 -0400 |
commit | 9e3ee1c39c0cc71222f9980ccbf87fe072897eef (patch) | |
tree | 99462000e6f0d4f907cb2fc690f19d4d441ba0f3 /arch/sh/kernel/process_32.c | |
parent | e56b3bc7942982ac2589c942fb345e38bc7a341a (diff) | |
parent | f934fb19ef34730263e6afc01e8ec27a8a71470f (diff) |
Merge branch 'linus' into cpus4096
Conflicts:
kernel/stop_machine.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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); |