[KVM PATCH v4 1/2] eventfd: export eventfd interfaces for module use

2009-05-04 Thread Gregory Haskins
We will re-use eventfd for implmenting irqfd later in the series, and the irqfd users will potentially live in modules. Signed-off-by: Gregory Haskins ghask...@novell.com --- fs/eventfd.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/fs/eventfd.c b/fs/eventfd.c

[KVM PATCH v4 1/2] eventfd: export eventfd interfaces for module use

2009-05-04 Thread Gregory Haskins
We will re-use eventfd for implmenting irqfd later in the series, and the irqfd users will potentially live in modules. Signed-off-by: Gregory Haskins ghask...@novell.com --- fs/eventfd.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/fs/eventfd.c b/fs/eventfd.c

Re: [KVM PATCH v4 1/2] eventfd: export eventfd interfaces for module use

2009-05-04 Thread Al Viro
On Mon, May 04, 2009 at 01:57:45PM -0400, Gregory Haskins wrote: @@ -56,6 +57,7 @@ int eventfd_signal(struct file *file, int n) return n; } +EXPORT_SYMBOL_GPL(eventfd_signal); perhaps, but... @@ -197,6 +199,7 @@ struct file *eventfd_fget(int fd) return file; }

Re: [KVM PATCH v4 1/2] eventfd: export eventfd interfaces for module use

2009-05-04 Thread Gregory Haskins
Al Viro wrote: On Mon, May 04, 2009 at 01:57:45PM -0400, Gregory Haskins wrote: @@ -56,6 +57,7 @@ int eventfd_signal(struct file *file, int n) return n; } +EXPORT_SYMBOL_GPL(eventfd_signal); perhaps, but... @@ -197,6 +199,7 @@ struct file *eventfd_fget(int fd)