diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-10-13 12:50:11 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 09:20:46 -0400 |
commit | 9cce2914e2b21339dca12c91dc9f35790366cc4c (patch) | |
tree | f92428952bfd91dd0ff312608080e021e3f05190 /include/xen | |
parent | d5f985c834fbfdedcb629b009ba272ad50add5ac (diff) |
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 'include/xen')
-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 @@ | |||
46 | #include <xen/interface/io/xenbus.h> | 46 | #include <xen/interface/io/xenbus.h> |
47 | #include <xen/interface/io/xs_wire.h> | 47 | #include <xen/interface/io/xs_wire.h> |
48 | 48 | ||
49 | #define XENBUS_MAX_RING_PAGE_ORDER 4 | 49 | #define XENBUS_MAX_RING_GRANT_ORDER 4 |
50 | #define XENBUS_MAX_RING_PAGES (1U << XENBUS_MAX_RING_PAGE_ORDER) | 50 | #define XENBUS_MAX_RING_GRANTS (1U << XENBUS_MAX_RING_GRANT_ORDER) |
51 | #define INVALID_GRANT_HANDLE (~0U) | 51 | #define INVALID_GRANT_HANDLE (~0U) |
52 | 52 | ||
53 | /* Register callback to watch this node. */ | 53 | /* Register callback to watch this node. */ |