Skip to content

Commit

Permalink
[PARISC] Remove obsolete _hlt cruft
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Jan 23, 2006
1 parent 9073315 commit 526110f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions arch/parisc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,12 @@
#include <asm/uaccess.h>
#include <asm/unwind.h>

static int hlt_counter __read_mostly;

/*
* Power off function, if any
*/
void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);

void disable_hlt(void)
{
hlt_counter++;
}

EXPORT_SYMBOL(disable_hlt);

void enable_hlt(void)
{
hlt_counter--;
}

EXPORT_SYMBOL(enable_hlt);

void default_idle(void)
{
barrier();
Expand Down

0 comments on commit 526110f

Please sign in to comment.