From: Julien Grall Date: Tue, 14 Jan 2014 01:41:00 +0000 (+0000) Subject: xen/ballon: Use correct type for frame list X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c1c332218c823cde8e34b58fda299c63f6227a94;p=people%2Fjulieng%2Ffreebsd.git xen/ballon: Use correct type for frame list --- diff --git a/sys/dev/xen/balloon/balloon.c b/sys/dev/xen/balloon/balloon.c index e113e2ce9256..a8971364843c 100644 --- a/sys/dev/xen/balloon/balloon.c +++ b/sys/dev/xen/balloon/balloon.c @@ -59,7 +59,7 @@ static MALLOC_DEFINE(M_BALLOON, "Balloon", "Xen Balloon Driver"); struct mtx balloon_mutex; /* We increase/decrease in batches which fit in a page */ -static unsigned long frame_list[PAGE_SIZE / sizeof(unsigned long)]; +static xen_pfn_t frame_list[PAGE_SIZE / sizeof(unsigned long)]; struct balloon_stats { /* We aim for 'current allocation' == 'target allocation'. */