diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-01-14 00:05:21 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-22 20:26:48 -0500 |
commit | 526110f8c8d2326413e2de5496d196ee9d4856ad (patch) | |
tree | f233775851b14064d3ec942a5d32515f16df4175 /arch/parisc/kernel/process.c | |
parent | 9073315bbc3e2149d8ffcc4b86932ca6497c94ce (diff) |
[PARISC] Remove obsolete _hlt cruft
Remove a bunch of obsolete code from process.c, these routines were
likely imported from the i386 version of process.c when the port
started. The routines are only used in floppy.c, which I seriously
doubt will ever work on parisc, due to architectural assumptions.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/process.c')
-rw-r--r-- | arch/parisc/kernel/process.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 997ab542da8d..998700ce4556 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c | |||
@@ -54,28 +54,12 @@ | |||
54 | #include <asm/uaccess.h> | 54 | #include <asm/uaccess.h> |
55 | #include <asm/unwind.h> | 55 | #include <asm/unwind.h> |
56 | 56 | ||
57 | static int hlt_counter __read_mostly; | ||
58 | |||
59 | /* | 57 | /* |
60 | * Power off function, if any | 58 | * Power off function, if any |
61 | */ | 59 | */ |
62 | void (*pm_power_off)(void); | 60 | void (*pm_power_off)(void); |
63 | EXPORT_SYMBOL(pm_power_off); | 61 | EXPORT_SYMBOL(pm_power_off); |
64 | 62 | ||
65 | void disable_hlt(void) | ||
66 | { | ||
67 | hlt_counter++; | ||
68 | } | ||
69 | |||
70 | EXPORT_SYMBOL(disable_hlt); | ||
71 | |||
72 | void enable_hlt(void) | ||
73 | { | ||
74 | hlt_counter--; | ||
75 | } | ||
76 | |||
77 | EXPORT_SYMBOL(enable_hlt); | ||
78 | |||
79 | void default_idle(void) | 63 | void default_idle(void) |
80 | { | 64 | { |
81 | barrier(); | 65 | barrier(); |