[FYI/PATCH 4/4] Idle code for IBM Full System Simulator

Utz Bacher utz.bacher at de.ibm.com
Fri Feb 17 16:39:09 EST 2006


Improve system simulator idle loop. The patch applies on 2.6.15 and
2.6.15.4.

Cc: Arnd Bergmann <arndb at de.ibm.com>
From: Sidney Manning <sid at us.ibm.com>
Signed-off-by: Utz Bacher <utz.bacher at de.ibm.com>

Index: linux/arch/powerpc/kernel/setup_64.c
===================================================================
--- linux.orig/arch/powerpc/kernel/setup_64.c
+++ linux/arch/powerpc/kernel/setup_64.c
@@ -647,10 +647,10 @@ void __init setup_arch(char **cmdline_p)
  	conswitchp = &dummy_con;
  #endif

-	ppc_md.setup_arch();
-
  	setup_systemsim_idle();

+	ppc_md.setup_arch();
+
  	/* Use the default idle loop if the platform hasn't provided one. */
  	if (NULL == ppc_md.idle_loop) {
  		ppc_md.idle_loop = default_idle;



More information about the Linuxppc64-dev mailing list