patch-2.4.0-test7 linux/include/asm-arm/arch-l7200/system.h
Next file: linux/include/asm-arm/arch-l7200/time.h
Previous file: linux/include/asm-arm/arch-l7200/memory.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Aug 13 09:54:15 2000
- Orig file:
v2.4.0-test6/linux/include/asm-arm/arch-l7200/system.h
- Orig date:
Thu Jul 27 17:38:02 2000
diff -u --recursive --new-file v2.4.0-test6/linux/include/asm-arm/arch-l7200/system.h linux/include/asm-arm/arch-l7200/system.h
@@ -1,21 +1,22 @@
/*
* linux/include/asm-arm/arch-l7200/system.h
*
- * Copyright (c) 2000 Steven Hill (sjhill@cotw.com)
+ * Copyright (c) 2000 Steve Hill (sjhill@cotw.com)
*
* Changelog
* 03-21-2000 SJH Created
* 04-26-2000 SJH Fixed functions
* 05-03-2000 SJH Removed usage of obsolete 'iomd.h'
+ * 05-31-2000 SJH Properly implemented 'arch_idle'
*/
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
static void arch_idle(void)
{
- while (!current->need_resched && !hlt_counter)
- { };
-/* outb(0, IOMD_SUSMODE);*/
+ while (!current->need_resched && !hlt_counter) {
+ cpu_do_idle(IDLE_WAIT_SLOW);
+ }
}
extern inline void arch_reset(char mode)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)