The exported symbols below are not specific to x86 or any other arch, just their implementation is. So let's move them into generic ipipe.c.
Jan --- arch/x86/kernel/ipipe.c | 9 --------- kernel/ipipe/core.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) Index: linux-2.6.24-rc8-xeno_64/arch/x86/kernel/ipipe.c =================================================================== --- linux-2.6.24-rc8-xeno_64.orig/arch/x86/kernel/ipipe.c +++ linux-2.6.24-rc8-xeno_64/arch/x86/kernel/ipipe.c @@ -975,10 +975,6 @@ int __ipipe_check_tickdev(const char *de } EXPORT_SYMBOL(__ipipe_tick_irq); -EXPORT_SYMBOL(ipipe_critical_enter); -EXPORT_SYMBOL(ipipe_critical_exit); -EXPORT_SYMBOL(ipipe_trigger_irq); -EXPORT_SYMBOL(ipipe_get_sysinfo); EXPORT_SYMBOL_GPL(irq_desc); struct task_struct *__switch_to(struct task_struct *prev_p, @@ -998,8 +994,3 @@ EXPORT_SYMBOL_GPL(cpu_gdt_descr); #if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK) EXPORT_SYMBOL(tasklist_lock); #endif /* CONFIG_SMP || CONFIG_DEBUG_SPINLOCK */ - -#ifdef CONFIG_IPIPE_TRACE_MCOUNT -void notrace mcount(void); -EXPORT_SYMBOL(mcount); -#endif /* CONFIG_IPIPE_TRACE_MCOUNT */ Index: linux-2.6.24-rc8-xeno_64/kernel/ipipe/core.c =================================================================== --- linux-2.6.24-rc8-xeno_64.orig/kernel/ipipe/core.c +++ linux-2.6.24-rc8-xeno_64/kernel/ipipe/core.c @@ -1624,3 +1624,13 @@ EXPORT_SYMBOL(__ipipe_schedule_irq); EXPORT_SYMBOL(ipipe_request_tickdev); EXPORT_SYMBOL(ipipe_release_tickdev); #endif + +EXPORT_SYMBOL(ipipe_critical_enter); +EXPORT_SYMBOL(ipipe_critical_exit); +EXPORT_SYMBOL(ipipe_trigger_irq); +EXPORT_SYMBOL(ipipe_get_sysinfo); + +#ifdef CONFIG_IPIPE_TRACE_MCOUNT +void notrace mcount(void); +EXPORT_SYMBOL(mcount); +#endif /* CONFIG_IPIPE_TRACE_MCOUNT */ -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux _______________________________________________ Adeos-main mailing list [email protected] https://mail.gna.org/listinfo/adeos-main
