From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH] OMAP: don't trace functions called from sched_clock Date: Fri, 27 May 2011 13:39:10 -0700 Message-ID: <87hb8fyj2p.fsf@ti.com> References: <1304846514-15641-1-git-send-email-rabin@rab.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from na3sys009aog101.obsmtp.com ([74.125.149.67]:55393 "EHLO na3sys009aog101.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752499Ab1E0UjO (ORCPT ); Fri, 27 May 2011 16:39:14 -0400 Received: by pvg13 with SMTP id 13so1095325pvg.12 for ; Fri, 27 May 2011 13:39:13 -0700 (PDT) In-Reply-To: <1304846514-15641-1-git-send-email-rabin@rab.in> (Rabin Vincent's message of "Sun, 8 May 2011 14:51:54 +0530") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Rabin Vincent Cc: tony@atomide.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Rabin Vincent writes: > omap_readl() is used from the sched_clock() implementations and so must > be marked notrace to avoid recursion in ftrace. Same thing with > mpu_read() for OMAP1. > > Signed-off-by: Rabin Vincent Acked-by: Kevin Hilman From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@ti.com (Kevin Hilman) Date: Fri, 27 May 2011 13:39:10 -0700 Subject: [PATCH] OMAP: don't trace functions called from sched_clock In-Reply-To: <1304846514-15641-1-git-send-email-rabin@rab.in> (Rabin Vincent's message of "Sun, 8 May 2011 14:51:54 +0530") References: <1304846514-15641-1-git-send-email-rabin@rab.in> Message-ID: <87hb8fyj2p.fsf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Rabin Vincent writes: > omap_readl() is used from the sched_clock() implementations and so must > be marked notrace to avoid recursion in ftrace. Same thing with > mpu_read() for OMAP1. > > Signed-off-by: Rabin Vincent Acked-by: Kevin Hilman