From: Anton Blanchard <anton@samba.org>
Date: Tue, 31 May 2005 21:39:29 +0000 (-0700)
Subject: [PATCH] ppc64: allow timer based profiling on iseries
X-Git-Tag: firefly_0821_release~42717^2~215
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f50734569c25c4e902bd3d0fb2e5bd93a200cc75;p=firefly-linux-kernel-4.4.55.git

[PATCH] ppc64: allow timer based profiling on iseries

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@samba.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/arch/ppc64/kernel/time.c b/arch/ppc64/kernel/time.c
index 3d54745108c7..33364a7d2cd2 100644
--- a/arch/ppc64/kernel/time.c
+++ b/arch/ppc64/kernel/time.c
@@ -325,9 +325,7 @@ int timer_interrupt(struct pt_regs * regs)
 
 	irq_enter();
 
-#ifndef CONFIG_PPC_ISERIES
 	profile_tick(CPU_PROFILING, regs);
-#endif
 
 	lpaca->lppaca.int_dword.fields.decr_int = 0;