Skip to content

Commit

Permalink
linux-next: pci tree build failure
Browse files Browse the repository at this point in the history
Today's linux-next build (x86_64 allmodconfig) failed like this:

 drivers/xen/manage.c: In function 'xen_suspend':
 drivers/xen/manage.c:66: error: too few arguments to function 'device_power_up'
 drivers/xen/manage.c: In function 'do_suspend':
 drivers/xen/manage.c:117: error: too few arguments to function 'device_resume'

Caused by commit 1eede07 ("Introduce new
top level suspend and hibernation callbacks") interacting with new
usages ...

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Stephen Rothwell authored and Ingo Molnar committed Jul 18, 2008
1 parent 393d81a commit 55ca089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/xen/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static int xen_suspend(void *data)
gnttab_resume();
xen_mm_unpin_all();

device_power_up();
device_power_up(PMSG_RESUME);

if (!*cancelled) {
xen_irq_resume();
Expand Down Expand Up @@ -114,7 +114,7 @@ static void do_suspend(void)
} else
xenbus_suspend_cancel();

device_resume();
device_resume(PMSG_RESUME);

/* Make sure timer events get retriggered on all CPUs */
clock_was_set();
Expand Down

0 comments on commit 55ca089

Please sign in to comment.