Messages in this thread Patch in this message | | | Date | Mon, 14 May 2007 17:16:37 +0900 | From | Tsutomu OWA <> | Subject | Re: [patch 2/5] powerpc 2.6.21-rt1: dummy functions and export _mcount to compile |
| |
add dummy functions save_stack_trace(), early_printk() for now and export _mcount to compile.
Signed-off-by: Tsutomu OWA <tsutomu.owa@toshiba.co.jp> -- 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 <linux/stacktrace.h> +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/
| |