* [Adeos-main] [PATCH] refactor generic EXPORT_SYMBOLs
@ 2008-01-21 10:13 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-01-21 10:13 UTC (permalink / raw)
To: Philippe Gerum; +Cc: adeos-main
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-21 10:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 10:13 [Adeos-main] [PATCH] refactor generic EXPORT_SYMBOLs Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.