All of lore.kernel.org
 help / color / mirror / Atom feed
* EXPORT_SYMBOL
@ 2004-08-05 20:14 Charles Coffing
  0 siblings, 0 replies; only message in thread
From: Charles Coffing @ 2004-08-05 20:14 UTC (permalink / raw)
  To: xen-devel

I built 2.6.7-xen0 with modular drivers, but I couldn't get any modules
to load because the following symbols weren't exported:
	evtchn_do_upcall
	HYPERVISOR_shared_info
	phys_to_machine_mapping


Here's a patch:

diff -ru
xeno-unstable/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c
xeno-unstable.export/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c
---
xeno-unstable/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c	2004-08-04
20:56:53.000000000 -0600
+++
xeno-unstable.export/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c	2004-08-05
10:58:02.000000000 -0600
@@ -137,8 +137,9 @@
  * page as soon as fixmap is up and running.
  */
 shared_info_t *HYPERVISOR_shared_info = (shared_info_t
*)empty_zero_page;
-
+EXPORT_SYMBOL(HYPERVISOR_shared_info);
 unsigned long *phys_to_machine_mapping;
+EXPORT_SYMBOL(phys_to_machine_mapping);
 
 multicall_entry_t multicall_list[8];
 int nr_multicall_ents = 0;
diff -ru xeno-unstable/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c
xeno-unstable.export/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c
---
xeno-unstable/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c	2004-08-04
20:56:54.000000000 -0600
+++
xeno-unstable.export/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c	2004-08-05
10:58:45.000000000 -0600
@@ -7,6 +7,7 @@
  */
 
 #include <linux/config.h>
+#include <linux/module.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
@@ -81,7 +82,7 @@
 
     local_irq_restore(flags);
 }
-
+EXPORT_SYMBOL(evtchn_do_upcall);
 
 static int find_unbound_irq(void)
 {



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-05 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 20:14 EXPORT_SYMBOL Charles Coffing

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.