commit | 9b62e5b10ff0f98346bcbe4a4fe3a0ca8fa7be30 | [log] [tgz] |
---|---|---|
author | Jan Blunck <jblunck@suse.de> | Tue Apr 07 23:58:56 2009 +0000 |
committer | Avi Kivity <avi@redhat.com> | Wed Jun 10 11:48:49 2009 +0300 |
tree | 9170f5bce95041bc65630814d026db377beb2e25 | |
parent | 14d0bc1f7c8226d5088e7182c3b53e0c7e91d1af [diff] |
KVM: Wake up waitqueue before calling get_cpu() 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>