From patchwork Thu May 21 16:49:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Haskins X-Patchwork-Id: 25256 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4LGnoKX024014 for ; Thu, 21 May 2009 16:49:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753542AbZEUQtq (ORCPT ); Thu, 21 May 2009 12:49:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753444AbZEUQtq (ORCPT ); Thu, 21 May 2009 12:49:46 -0400 Received: from victor.provo.novell.com ([137.65.250.26]:36891 "EHLO victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753441AbZEUQtp (ORCPT ); Thu, 21 May 2009 12:49:45 -0400 Received: from dev.haskins.net (prv-ext-foundry1.gns.novell.com [137.65.251.240]) by victor.provo.novell.com with ESMTP (TLS encrypted); Thu, 21 May 2009 10:49:35 -0600 Received: from dev.haskins.net (localhost [127.0.0.1]) by dev.haskins.net (Postfix) with ESMTP id D68D7464247; Thu, 21 May 2009 12:49:31 -0400 (EDT) From: Gregory Haskins Subject: [KVM PATCH v3 1/4] eventfd: export eventfd interfaces for module use To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, avi@redhat.com, --cc=mtosatti@redhat.com Date: Thu, 21 May 2009 12:49:31 -0400 Message-ID: <20090521164931.14617.27675.stgit@dev.haskins.net> In-Reply-To: <20090521164241.14617.92951.stgit@dev.haskins.net> References: <20090521164241.14617.92951.stgit@dev.haskins.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org We want to use eventfd from KVM which can be compiled as a module, so export the interfaces. Signed-off-by: Gregory Haskins --- fs/eventfd.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/eventfd.c b/fs/eventfd.c index 2a701d5..3f0e197 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -16,6 +16,7 @@ #include #include #include +#include struct eventfd_ctx { wait_queue_head_t wqh; @@ -56,6 +57,7 @@ int eventfd_signal(struct file *file, int n) return n; } +EXPORT_SYMBOL_GPL(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_GPL(eventfd_fget); SYSCALL_DEFINE2(eventfd2, unsigned int, count, int, flags) {