Skip to contentSkip to conversation

export eventfd symbols ...

PATCH In review Davide Libenzi 3 participants 5 messages May 14, 2007 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 export eventfd symbols ...

Export eventfd kernel functions to modules.

- Davide

fs/eventfd.c +2 -0
Index: linux-2.6.21-git17.epmod/fs/eventfd.c
===================================================================
@@ -55,6 +55,7 @@
 
 	return n;
 }
+EXPORT_SYMBOL_GPL(eventfd_signal);
 
 static int eventfd_release(struct inode *inode, struct file *file)
 {
@@ -197,6 +198,7 @@
 
 	return file;
 }
+EXPORT_SYMBOL_GPL(eventfd_fget);
 
 asmlinkage long sys_eventfd(unsigned int count)
 {
#1 lore raw
Quoted 1 line · Davide Libenzi

Export eventfd kernel functions to modules.

Why?

#2 lore raw
Quoted 4 lines · Christoph Hellwig
Quoted 1 line · Davide Libenzi

Export eventfd kernel functions to modules.

Why?

KVM developers asked for it. It seem they'll be using eventfd to signal events to userspace.

- Davide

#3 lore raw
Quoted 10 lines · On Mon, 14 May 2007 14:45:26 -0700 (PDT) Davide Libenzi…
Quoted 4 lines · Christoph Hellwig
Quoted 1 line · Davide Libenzi

Export eventfd kernel functions to modules.

Why?

KVM developers asked for it. It seem they'll be using eventfd to signal events to userspace.

yeah, there's no really easy way of doing this. Probably it's best if these exports get merged via the KVM git tree, once the proposed KVM changes have been suitably reviewed.

#4 lore raw
Quoted 10 lines · Andrew Morton
Quoted 7 lines · On Mon, 14 May 2007 14:45:26 -0700 (PDT) Davide Libenzi…
Quoted 4 lines · Christoph Hellwig
Quoted 1 line · Davide Libenzi

Export eventfd kernel functions to modules.

Why?

Quoted 7 lines
Quoted 3 lines

KVM developers asked for it. It seem they'll be using eventfd to signal events to userspace.

yeah, there's no really easy way of doing this. Probably it's best if these exports get merged via the KVM git tree, once the proposed KVM changes have been suitably reviewed.

That sounds reasonable.

- Davide