From: Kyle McMartin Date: Sat, 14 Jan 2006 05:05:21 +0000 (-0700) Subject: [PARISC] Remove obsolete _hlt cruft X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=526110f8c8d2326413e2de5496d196ee9d4856ad;p=openwrt%2Fstaging%2Fblogic.git [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 --- 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 @@ #include #include -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();