KVM would like to use the eventfd facility even as a module

Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]>
---

 fs/eventfd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/eventfd.c b/fs/eventfd.c
index 480e2b3..01414ef 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -13,6 +13,7 @@
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
+#include <linux/module.h>
 #include <linux/anon_inodes.h>
 #include <linux/eventfd.h>
 
@@ -55,6 +56,7 @@ int eventfd_signal(struct file *file, int n)
 
        return n;
 }
+EXPORT_SYMBOL(eventfd_signal);
 
 static int eventfd_release(struct inode *inode, struct file *file)
 {
@@ -197,6 +199,7 @@ struct file *eventfd_fget(int fd)
 
        return file;
 }
+EXPORT_SYMBOL(eventfd_fget);
 
 asmlinkage long sys_eventfd(unsigned int count)
 {


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to