diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-10-13 18:50:11 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 15:20:46 +0200 |
commit | 9cce2914e2b21339dca12c91dc9f35790366cc4c (patch) | |
tree | f92428952bfd91dd0ff312608080e021e3f05190 /include/xen/xenbus.h | |
parent | xen/arm: correct comment in enlighten.c (diff) | |
download | linux-9cce2914e2b21339dca12c91dc9f35790366cc4c.tar.xz linux-9cce2914e2b21339dca12c91dc9f35790366cc4c.zip |
xen/xenbus: Rename *RING_PAGE* to *RING_GRANT*
Linux may use a different page size than the size of grant. So make
clear that the order is actually in number of grant.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to '')
-rw-r--r-- | include/xen/xenbus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h index 289c0b5f08fe..32b944b7cebd 100644 --- a/include/xen/xenbus.h +++ b/include/xen/xenbus.h @@ -46,8 +46,8 @@ #include <xen/interface/io/xenbus.h> #include <xen/interface/io/xs_wire.h> -#define XENBUS_MAX_RING_PAGE_ORDER 4 -#define XENBUS_MAX_RING_PAGES (1U << XENBUS_MAX_RING_PAGE_ORDER) +#define XENBUS_MAX_RING_GRANT_ORDER 4 +#define XENBUS_MAX_RING_GRANTS (1U << XENBUS_MAX_RING_GRANT_ORDER) #define INVALID_GRANT_HANDLE (~0U) /* Register callback to watch this node. */ |