Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755333AbXENIRH (ORCPT ); Mon, 14 May 2007 04:17:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755214AbXENIQ4 (ORCPT ); Mon, 14 May 2007 04:16:56 -0400 Received: from inet-tsb5.toshiba.co.jp ([202.33.96.24]:47361 "EHLO inet-tsb5.toshiba.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755045AbXENIQz (ORCPT ); Mon, 14 May 2007 04:16:55 -0400 Date: Mon, 14 May 2007 17:16:37 +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 2/5] powerpc 2.6.21-rt1: dummy functions and export _mcount to compile 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: 1197 Lines: 39 add dummy functions save_stack_trace(), early_printk() for now and export _mcount to compile. Signed-off-by: Tsutomu OWA -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/setup_64.c rt/arch/powerpc/kernel/setup_64.c --- linux-2.6.21-rt1/arch/powerpc/kernel/setup_64.c 2007-04-26 12:08:32.000000000 +0900 +++ rt/arch/powerpc/kernel/setup_64.c 2007-05-08 18:50:46.000000000 +0900 @@ -606,3 +606,22 @@ struct ppc_pci_io ppc_pci_io; EXPORT_SYMBOL(ppc_pci_io); #endif /* CONFIG_PPC_INDIRECT_IO */ +#ifdef CONFIG_STACKTRACE +#include +void notrace save_stack_trace(struct stack_trace *trace, + struct task_struct *task) +{ +} +#endif /* CONFIG_STACKTRACE */ + +#ifdef CONFIG_EARLY_PRINTK +void notrace early_printk(const char *fmt, ...) +{ + BUG(); +} +#endif /* CONFIG_EARLY_PRINTK */ + +#ifdef CONFIG_MCOUNT +extern void _mcount(void); +EXPORT_SYMBOL(_mcount); +#endif /* CONFIG_MCOUNT */ - 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/