aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-12-02 09:21:31 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-12-02 09:21:31 +0000
commit89c6d52aafcd9111e8e30bf48f88eaa1f85d2ca3 (patch)
tree627e561102829a8ffc2f6aee0142b889f8a31557
parent2639d4fd5c43a0e2e913c13df4103b7f279bb629 (diff)
downloadxen-89c6d52aafcd9111e8e30bf48f88eaa1f85d2ca3.tar.gz
xen-89c6d52aafcd9111e8e30bf48f88eaa1f85d2ca3.tar.bz2
xen-89c6d52aafcd9111e8e30bf48f88eaa1f85d2ca3.zip
bitkeeper revision 1.1159.187.50 (41aede9butKaW-WoEitdCDyiPTD0mg)
Export ctrl_if API to modules.
-rw-r--r--linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile2
-rw-r--r--linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c8
2 files changed, 9 insertions, 1 deletions
diff --git a/linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile b/linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile
index 30488e666b..3eb0701958 100644
--- a/linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile
+++ b/linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile
@@ -6,7 +6,7 @@ all: kernel.o head.o init_task.o
O_TARGET := kernel.o
-export-objs := i386_ksyms.o gnttab.o skbuff.o
+export-objs := i386_ksyms.o gnttab.o skbuff.o ctrl_if.o
obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o \
ptrace.o ioport.o ldt.o setup.o time.o sys_i386.o \
diff --git a/linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c b/linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c
index 78195fa1ab..c5ab59b826 100644
--- a/linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c
+++ b/linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c
@@ -35,6 +35,7 @@
#include <linux/errno.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
+#include <linux/module.h>
#include <asm-xen/ctrl_if.h>
#include <asm-xen/evtchn.h>
@@ -541,3 +542,10 @@ void ctrl_if_discard_responses(void)
ctrl_if_tx_resp_cons = get_ctrl_if()->tx_resp_prod;
}
+EXPORT_SYMBOL(ctrl_if_send_message_noblock);
+EXPORT_SYMBOL(ctrl_if_send_message_block);
+EXPORT_SYMBOL(ctrl_if_send_message_and_get_response);
+EXPORT_SYMBOL(ctrl_if_enqueue_space_callback);
+EXPORT_SYMBOL(ctrl_if_send_response);
+EXPORT_SYMBOL(ctrl_if_register_receiver);
+EXPORT_SYMBOL(ctrl_if_unregister_receiver);