fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / xen / balloon / balloon.c
index d9fbbb3..abdabed 100644 (file)
@@ -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;