Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761059AbXENISO (ORCPT ); Mon, 14 May 2007 04:18:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755045AbXENISA (ORCPT ); Mon, 14 May 2007 04:18:00 -0400 Received: from inet-tsb5.toshiba.co.jp ([202.33.96.24]:47518 "EHLO inet-tsb5.toshiba.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754895AbXENIR7 (ORCPT ); Mon, 14 May 2007 04:17:59 -0400 Date: Mon, 14 May 2007 17:17:43 +0900 Message-ID: From: Tsutomu OWA To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Cc: mingo@elte.hu, tglx@linutronix.de Subject: Re: [patch 3/5] powerpc 2.6.21-rt1: mark raw_local_irq_restore() and timebase_read() as notrace In-Reply-To: References: User-Agent: Wanderlust/2.8.1 (Something) Emacs/20.7 Mule/4.0 (HANANOEN) Organization: Software Engineering Center, TOSHIBA. MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 36 mark raw_local_irq_restore() and timebase_read() as notrace since these are called from __trace(). Signed-off-by: Tsutomu OWA -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/irq.c rt/arch/powerpc/kernel/irq.c --- linux-2.6.21-rt1/arch/powerpc/kernel/irq.c 2007-05-07 14:08:12.000000000 +0900 +++ rt/arch/powerpc/kernel/irq.c 2007-05-07 14:05:30.000000000 +0900 @@ -111,7 +111,7 @@ static inline void set_soft_enabled(unsi : : "r" (enable), "i" (offsetof(struct paca_struct, soft_enabled))); } -void raw_local_irq_restore(unsigned long en) +void notrace raw_local_irq_restore(unsigned long en) { /* * get_paca()->soft_enabled = en; --- linux-2.6.21-rt1/arch/powerpc/kernel/time.c 2007-05-09 17:52:05.000000000 +0900 +++ rt/arch/powerpc/kernel/time.c 2007-05-09 18:03:39.000000000 +0900 @@ -923,7 +923,7 @@ void div128_by_32(u64 dividend_high, u64 #include -static cycle_t timebase_read(void) +static cycle_t notrace timebase_read(void) { return (cycle_t)get_tb(); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/