X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fxen%2Fballoon%2Fballoon.c;h=abdabed2bd2d80400fc798626db4fe1658a6abc6;hb=refs%2Fheads%2Fvserver;hp=d9fbbb3b8a5272d90ccbf4b676106c0fd4ae9e86;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/drivers/xen/balloon/balloon.c b/drivers/xen/balloon/balloon.c index d9fbbb3b8..abdabed2b 100644 --- a/drivers/xen/balloon/balloon.c +++ b/drivers/xen/balloon/balloon.c @@ -94,8 +94,8 @@ static LIST_HEAD(ballooned_pages); static unsigned long balloon_low, balloon_high; /* Main work function, always executed in process context. */ -static void balloon_process(void *unused); -static DECLARE_WORK(balloon_worker, balloon_process, NULL); +static void balloon_process(struct work_struct *unusable); +static DECLARE_WORK(balloon_worker, balloon_process); static struct timer_list balloon_timer; /* When ballooning out (allocating memory to return to Xen) we don't really @@ -330,7 +330,7 @@ static int decrease_reservation(unsigned long nr_pages) * by the balloon lock), or with changes to the Xen hard limit, but we will * recover from these in time. */ -static void balloon_process(void *unused) +static void balloon_process(struct work_struct *unusable) { int need_sleep = 0; long credit;