diff options
author | 2016-01-29 19:04:30 +0000 | |
---|---|---|
committer | 2016-01-29 19:04:30 +0000 | |
commit | da2beead254da2aa339ab6d20d4132d34fecff83 (patch) | |
tree | 134c8c52298bed2af81bc1199ed7ce1baf186ad2 /sys/dev/pv/xen.c | |
parent | Cleanup XenStore API (diff) | |
download | wireguard-openbsd-da2beead254da2aa339ab6d20d4132d34fecff83.tar.xz wireguard-openbsd-da2beead254da2aa339ab6d20d4132d34fecff83.zip |
Add support for XS_WATCH: XenStore notification facility
After configuring a watch for the node, XenStore will asynchronously
notify the system when the value of the specified node changes with
an event message.
Diffstat (limited to 'sys/dev/pv/xen.c')
-rw-r--r-- | sys/dev/pv/xen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c index e6848a6fdca..3cc0d964910 100644 --- a/sys/dev/pv/xen.c +++ b/sys/dev/pv/xen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xen.c,v 1.46 2016/01/29 18:49:06 mikeb Exp $ */ +/* $OpenBSD: xen.c,v 1.47 2016/01/29 19:04:30 mikeb Exp $ */ /* * Copyright (c) 2015 Mike Belopuhov @@ -21,6 +21,7 @@ #include <sys/malloc.h> #include <sys/kernel.h> #include <sys/device.h> +#include <sys/task.h> #include <machine/bus.h> #include <machine/cpu.h> |