From: Jeremy Fitzhardinge Date: Thu, 12 Feb 2009 21:03:24 +0000 (-0800) Subject: xen/dev-evtchn: clean up locking in evtchn X-Git-Tag: v2.6.31-rc1~410^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a4666b539a0e896ec4e8396a034a479e3573125;p=pandora-kernel.git xen/dev-evtchn: clean up locking in evtchn Define a new per_user_data mutex to serialize bind/unbind operations to prevent them from racing with each other. Fix error returns and don't do a bind while holding a spinlock. Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed