diff mbox

[11/23] KVM: Fix KVM_SET_SIGNAL_MASK

Message ID 20100610111047.1ED28B1A2B@basil.firstfloor.org (mailing list archive)
State New, archived
Headers show

Commit Message

Andi Kleen June 10, 2010, 11:10 a.m. UTC
None
diff mbox

Patch

Index: linux-2.6.35-rc2-gcc/virt/kvm/kvm_main.c
===================================================================
--- linux-2.6.35-rc2-gcc.orig/virt/kvm/kvm_main.c
+++ linux-2.6.35-rc2-gcc/virt/kvm/kvm_main.c
@@ -1520,7 +1520,7 @@  out_free2:
 				goto out;
 			p = &sigset;
 		}
-		r = kvm_vcpu_ioctl_set_sigmask(vcpu, &sigset);
+		r = kvm_vcpu_ioctl_set_sigmask(vcpu, p);
 		break;
 	}
 	case KVM_GET_FPU: {