patch-2.4.0-test9 linux/include/asm-arm/arch-rpc/system.h

Next file: linux/include/asm-arm/arch-rpc/time.h
Previous file: linux/include/asm-arm/arch-rpc/serial.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-arm/arch-rpc/system.h linux/include/asm-arm/arch-rpc/system.h
@@ -1,10 +1,14 @@
 /*
- * linux/include/asm-arm/arch-rpc/system.h
+ *  linux/include/asm-arm/arch-rpc/system.h
  *
- * Copyright (c) 1996-1999 Russell King.
+ *  Copyright (C) 1996-1999 Russell King.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
  */
 #include <asm/arch/hardware.h>
-#include <asm/iomd.h>
+#include <asm/hardware/iomd.h>
 #include <asm/io.h>
 
 static void arch_idle(void)
@@ -17,7 +21,7 @@
 		if (current->need_resched || hlt_counter)
 			goto slow_out;
 		cpu_do_idle(IDLE_WAIT_FAST);
-	} while (time_before(start_idle, jiffies + HZ/3));
+	} while (time_before(jiffies, start_idle + HZ/50));
 
 	cpu_do_idle(IDLE_CLOCK_SLOW);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)