ia64/xen-unstable
changeset 3234:e48a7b2e78e8
bitkeeper revision 1.1159.187.50 (41aede9butKaW-WoEitdCDyiPTD0mg)
Export ctrl_if API to modules.
Export ctrl_if API to modules.
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Thu Dec 02 09:21:31 2004 +0000 (2004-12-02) |
parents | e6337ed51082 |
children | 554487247cb1 6e409bc26f22 a193790c4961 |
files | linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c |
line diff
1.1 --- a/linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile Thu Dec 02 09:21:05 2004 +0000 1.2 +++ b/linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile Thu Dec 02 09:21:31 2004 +0000 1.3 @@ -6,7 +6,7 @@ all: kernel.o head.o init_task.o 1.4 1.5 O_TARGET := kernel.o 1.6 1.7 -export-objs := i386_ksyms.o gnttab.o skbuff.o 1.8 +export-objs := i386_ksyms.o gnttab.o skbuff.o ctrl_if.o 1.9 1.10 obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o \ 1.11 ptrace.o ioport.o ldt.o setup.o time.o sys_i386.o \
2.1 --- a/linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c Thu Dec 02 09:21:05 2004 +0000 2.2 +++ b/linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c Thu Dec 02 09:21:31 2004 +0000 2.3 @@ -35,6 +35,7 @@ 2.4 #include <linux/errno.h> 2.5 #include <linux/irq.h> 2.6 #include <linux/interrupt.h> 2.7 +#include <linux/module.h> 2.8 #include <asm-xen/ctrl_if.h> 2.9 #include <asm-xen/evtchn.h> 2.10 2.11 @@ -541,3 +542,10 @@ void ctrl_if_discard_responses(void) 2.12 ctrl_if_tx_resp_cons = get_ctrl_if()->tx_resp_prod; 2.13 } 2.14 2.15 +EXPORT_SYMBOL(ctrl_if_send_message_noblock); 2.16 +EXPORT_SYMBOL(ctrl_if_send_message_block); 2.17 +EXPORT_SYMBOL(ctrl_if_send_message_and_get_response); 2.18 +EXPORT_SYMBOL(ctrl_if_enqueue_space_callback); 2.19 +EXPORT_SYMBOL(ctrl_if_send_response); 2.20 +EXPORT_SYMBOL(ctrl_if_register_receiver); 2.21 +EXPORT_SYMBOL(ctrl_if_unregister_receiver);