aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/gnttab.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-15 09:09:48 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-15 09:09:48 +0100
commit0df54d980737b7c4bb07aa4ac29e1e7689a6019b (patch)
tree69c7a044efe1f909f03ad9ff32ef5a8e0d8a390f /extras/mini-os/gnttab.c
parent4a493bdc5c1f3ba22004fd6a260fc7b4c6d23fce (diff)
downloadxen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.gz
xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.bz2
xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.zip
minios: switch to C99 integer types
This is a necessary step to make minios build on NetBSD. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'extras/mini-os/gnttab.c')
-rw-r--r--extras/mini-os/gnttab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/mini-os/gnttab.c b/extras/mini-os/gnttab.c
index 18fd87e29c..9b350523d5 100644
--- a/extras/mini-os/gnttab.c
+++ b/extras/mini-os/gnttab.c
@@ -102,7 +102,7 @@ gnttab_grant_transfer(domid_t domid, unsigned long pfn)
int
gnttab_end_access(grant_ref_t ref)
{
- u16 flags, nflags;
+ uint16_t flags, nflags;
BUG_ON(ref >= NR_GRANT_ENTRIES || ref < NR_RESERVED_ENTRIES);
@@ -123,7 +123,7 @@ unsigned long
gnttab_end_transfer(grant_ref_t ref)
{
unsigned long frame;
- u16 flags;
+ uint16_t flags;
BUG_ON(ref >= NR_GRANT_ENTRIES || ref < NR_RESERVED_ENTRIES);