]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/virtio_balloon.h
headers_check fix: linux/blktrace_api.h
[mv-sheeva.git] / include / linux / virtio_balloon.h
index 979524ee75b7eeec0fac53aeb01c0fa1592911fc..8726ff77763e47389e0cb61eec678c85228b06c6 100644 (file)
@@ -1,5 +1,7 @@
 #ifndef _LINUX_VIRTIO_BALLOON_H
 #define _LINUX_VIRTIO_BALLOON_H
+/* This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers. */
 #include <linux/virtio_config.h>
 
 /* The ID for virtio_balloon */
@@ -8,6 +10,9 @@
 /* The feature bitmap for virtio balloon */
 #define VIRTIO_BALLOON_F_MUST_TELL_HOST        0 /* Tell before reclaiming pages */
 
+/* Size of a PFN in the balloon interface. */
+#define VIRTIO_BALLOON_PFN_SHIFT 12
+
 struct virtio_balloon_config
 {
        /* Number of pages host wants Guest to give up. */