]> 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@linaro.org>
Sun, 12 Apr 2015 11:08:05 +0000 (12:08 +0100)
sys/dev/xen/balloon/balloon.c

index e113e2ce92568ee6839c64a290d4b9ce217f6b90..a8971364843cf1ffa629af1f0b199caf4febbac0 100644 (file)
@@ -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'. */