xen/dev-evtchn: clean up locking in evtchn
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 12 Feb 2009 21:03:24 +0000 (13:03 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 30 Mar 2009 16:26:49 +0000 (09:26 -0700)
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 <jeremy.fitzhardinge@citrix.com>

No differences found