summaryrefslogtreecommitdiffstats
path: root/include/xen/xenbus.h
diff options
context:
space:
mode:
authorJonathan Corbet2016-12-27 20:53:44 +0100
committerJonathan Corbet2016-12-27 20:53:44 +0100
commit54ab6db0909061ab7ee07233d3cab86d29f86e6c (patch)
treea7650ab5c0fa3a6a3841de8e8693041b3e009054 /include/xen/xenbus.h
parentdocs: sphinx-extensions: make rstFlatTable work with docutils 0.13 (diff)
parentLinux 4.10-rc1 (diff)
downloadkernel-qcow2-linux-54ab6db0909061ab7ee07233d3cab86d29f86e6c.tar.gz
kernel-qcow2-linux-54ab6db0909061ab7ee07233d3cab86d29f86e6c.tar.xz
kernel-qcow2-linux-54ab6db0909061ab7ee07233d3cab86d29f86e6c.zip
Merge tag 'v4.10-rc1' into docs-next
Linux 4.10-rc1
Diffstat (limited to 'include/xen/xenbus.h')
-rw-r--r--include/xen/xenbus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h
index 32b944b7cebd..271ba62503c7 100644
--- a/include/xen/xenbus.h
+++ b/include/xen/xenbus.h
@@ -151,6 +151,10 @@ __scanf(4, 5)
int xenbus_scanf(struct xenbus_transaction t,
const char *dir, const char *node, const char *fmt, ...);
+/* Read an (optional) unsigned value. */
+unsigned int xenbus_read_unsigned(const char *dir, const char *node,
+ unsigned int default_val);
+
/* Single printf and write: returns -errno or 0. */
__printf(4, 5)
int xenbus_printf(struct xenbus_transaction t,