Provide a stub acpi_md_sleep_init on xen, pointed out by Paul Goyette

on current-users.
This commit is contained in:
jmcneill 2007-12-15 19:24:17 +00:00
parent 2c5108a997
commit 381f4068ae
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: xen_acpi_machdep.c,v 1.1 2006/04/09 19:28:01 bouyer Exp $ */
/* $NetBSD: xen_acpi_machdep.c,v 1.2 2007/12/15 19:24:17 jmcneill Exp $ */
#include "acpi.h"
@ -13,3 +13,10 @@ acpi_md_sleep(int state)
printf("acpi: sleep not implemented\n");
return (-1);
}
void
acpi_md_sleep_init(void)
{
/* Not supported on xen */
return;
}