diff mbox

Fix parameters of prctl

Message ID 1260866897.12561.1167.camel@yhuang-dev.sh.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Huang, Ying Dec. 15, 2009, 8:48 a.m. UTC
None
diff mbox

Patch

--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -1984,7 +1984,7 @@  int kvm_init_ap(void)
     action.sa_flags = SA_SIGINFO;
     action.sa_sigaction = (void (*)(int, siginfo_t*, void*))sigbus_handler;
     sigaction(SIGBUS, &action, NULL);
-    prctl(PR_MCE_KILL, 1, 1);
+    prctl(PR_MCE_KILL, 1, 1, 0, 0);
     return 0;
 }