diff options
Diffstat (limited to 'drivers/xen/balloon.c')
-rw-r--r-- | drivers/xen/balloon.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index f5bbd9e83416..d31505b6f7a4 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c | |||
@@ -96,11 +96,7 @@ static struct balloon_stats balloon_stats; | |||
96 | /* We increase/decrease in batches which fit in a page */ | 96 | /* We increase/decrease in batches which fit in a page */ |
97 | static unsigned long frame_list[PAGE_SIZE / sizeof(unsigned long)]; | 97 | static unsigned long frame_list[PAGE_SIZE / sizeof(unsigned long)]; |
98 | 98 | ||
99 | /* VM /proc information for memory */ | ||
100 | extern unsigned long totalram_pages; | ||
101 | |||
102 | #ifdef CONFIG_HIGHMEM | 99 | #ifdef CONFIG_HIGHMEM |
103 | extern unsigned long totalhigh_pages; | ||
104 | #define inc_totalhigh_pages() (totalhigh_pages++) | 100 | #define inc_totalhigh_pages() (totalhigh_pages++) |
105 | #define dec_totalhigh_pages() (totalhigh_pages--) | 101 | #define dec_totalhigh_pages() (totalhigh_pages--) |
106 | #else | 102 | #else |
@@ -214,7 +210,7 @@ static int increase_reservation(unsigned long nr_pages) | |||
214 | page = balloon_first_page(); | 210 | page = balloon_first_page(); |
215 | for (i = 0; i < nr_pages; i++) { | 211 | for (i = 0; i < nr_pages; i++) { |
216 | BUG_ON(page == NULL); | 212 | BUG_ON(page == NULL); |
217 | frame_list[i] = page_to_pfn(page);; | 213 | frame_list[i] = page_to_pfn(page); |
218 | page = balloon_next_page(page); | 214 | page = balloon_next_page(page); |
219 | } | 215 | } |
220 | 216 | ||