patch-2.4.0-test5 linux/include/asm-arm/arch-sa1100/system.h
Next file: linux/include/asm-arm/arch-sa1100/thinclient.h
Previous file: linux/include/asm-arm/arch-sa1100/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Jul 18 22:43:25 2000
- Orig file:
v2.4.0-test4/linux/include/asm-arm/arch-sa1100/system.h
- Orig date:
Tue Apr 11 15:09:23 2000
diff -u --recursive --new-file v2.4.0-test4/linux/include/asm-arm/arch-sa1100/system.h linux/include/asm-arm/arch-sa1100/system.h
@@ -5,7 +5,7 @@
*/
#include <linux/config.h>
-extern __inline__ void arch_idle(void)
+static void arch_idle(void)
{
while (!current->need_resched && !hlt_counter) {
cpu_do_idle(IDLE_CLOCK_SLOW);
@@ -16,16 +16,8 @@
#ifdef CONFIG_SA1100_VICTOR
-extern inline void arch_power_off(void)
-{
- /* switch off power supply */
- mdelay(2000);
- GPCR = GPIO_GPIO23;
- while(1);
-}
-
/* power off unconditionally */
-#define arch_reset(x) arch_power_off()
+#define arch_reset(x) machine_power_off()
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)