pkgsrc/sysutils/xentools411/patches/patch-extras_mini-os_lock.c
bouyer 635c6af9fc Add Xen 4.11.0 packages.
Note that there is a bug in 4.11 (also present in recent 4.6 and 4.8)
which causes an infrequent assert failure when running NetBSD PV guests.
The root cause has not been found, but a workaround is inclued which doesn't
seems to have ill effects. See xenkernel411/patches/patch-zz-bouyer
for details.
2018-07-24 13:40:11 +00:00

11 lines
306 B
C

--- extras/mini-os/lock.c.orig 2017-03-28 12:14:33.000000000 +0200
+++ extras/mini-os/lock.c 2017-03-28 12:14:43.000000000 +0200
@@ -4,7 +4,7 @@
* Samuel Thibault <Samuel.Thibault@eu.citrix.net>, July 20008
*/
-#ifdef HAVE_LIBC
+#if 0 /* def HAVE_LIBC */
#include <sys/lock.h>
#include <sched.h>