[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] gntdev: Do not take mutexes in initialiser function.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215786873 -3600
# Node ID 1bd3dbfdaf0f96bd8fe572d9a262983d9490e3b9
# Parent  29228a5f9fea2cf5b30645c4bb23852b1fb3802f
gntdev: Do not take mutexes in initialiser function.
From: Derek Murray <derek.murray@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/gntdev/gntdev.c |    3 ---
 1 files changed, 3 deletions(-)

diff -r 29228a5f9fea -r 1bd3dbfdaf0f drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Wed Jul 09 10:45:09 2008 +0100
+++ b/drivers/xen/gntdev/gntdev.c       Fri Jul 11 15:34:33 2008 +0100
@@ -374,9 +374,6 @@ static int init_private_data(gntdev_file
        priv->grants_size = max_grants;
        priv->free_list_size = max_grants;
        priv->next_fit_index = 0;
-
-       up_write(&priv->grants_sem);
-       up_write(&priv->free_list_sem);
 
        return 0;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.