KVM: Wake up waitqueue before calling get_cpu()
authorJan Blunck <jblunck@suse.de>
Tue, 7 Apr 2009 23:58:56 +0000 (23:58 +0000)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:49 +0000 (11:48 +0300)
This moves the get_cpu() call down to be called after we wake up the
waiters. Therefore the waitqueue locks can safely be rt mutex.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found