]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen/ballon: Use correct type for frame list
authorJulien Grall <julien.grall@linaro.org>
Tue, 14 Jan 2014 01:41:00 +0000 (01:41 +0000)
committerJulien Grall <julien.grall@citrix.com>
Mon, 5 Oct 2015 17:54:43 +0000 (18:54 +0100)
sys/dev/xen/balloon/balloon.c

index 773644fda27c797b9b08b69f5486331e21a6179e..6a50bbb06cb2fad725722e92b9b0d358b25841dd 100644 (file)
@@ -57,7 +57,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'. */