[PATCH] ppc64: allow timer based profiling on iseries

Anton Blanchard anton at samba.org
Mon May 30 09:30:05 EST 2005


Hi,

We used to have an iseries specific profiler that used /proc/profile.
Now thats gone we can use the generic timer based stuff.

Signed-off-by: Anton Blanchard <anton at samba.org>

===== arch/ppc64/kernel/time.c 1.40 vs edited =====
Index: linux-2.6.12-rc2/arch/ppc64/kernel/time.c
===================================================================
--- linux-2.6.12-rc2.orig/arch/ppc64/kernel/time.c	2005-04-30 00:17:20.303032159 +1000
+++ linux-2.6.12-rc2/arch/ppc64/kernel/time.c	2005-05-01 23:42:46.357508524 +1000
@@ -325,9 +325,7 @@
 
 	irq_enter();
 
-#ifndef CONFIG_PPC_ISERIES
 	profile_tick(CPU_PROFILING, regs);
-#endif
 
 	lpaca->lppaca.int_dword.fields.decr_int = 0;
 



More information about the Linuxppc64-dev mailing list