acpi.c (346999) | acpi.c (359652) |
---|---|
1/*- 2 * Copyright (c) 2000 Takanori Watanabe <takawata@jp.freebsd.org> 3 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 4 * Copyright (c) 2000, 2001 Michael Smith 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2000 Takanori Watanabe <takawata@jp.freebsd.org> 3 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 4 * Copyright (c) 2000, 2001 Michael Smith 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: stable/11/sys/dev/acpica/acpi.c 346999 2019-05-01 17:30:14Z jhb $"); | 31__FBSDID("$FreeBSD: stable/11/sys/dev/acpica/acpi.c 359652 2020-04-06 07:16:31Z hselasky $"); |
32 33#include "opt_acpi.h" 34#include "opt_device_numa.h" 35 36#include <sys/param.h> 37#include <sys/kernel.h> 38#include <sys/proc.h> 39#include <sys/fcntl.h> --- 4113 unchanged lines hidden (view full) --- 4153acpi_pm_register(void *arg) 4154{ 4155 if (!cold || resource_disabled("acpi", 0)) 4156 return; 4157 4158 power_pm_register(POWER_PM_TYPE_ACPI, acpi_pm_func, NULL); 4159} 4160 | 32 33#include "opt_acpi.h" 34#include "opt_device_numa.h" 35 36#include <sys/param.h> 37#include <sys/kernel.h> 38#include <sys/proc.h> 39#include <sys/fcntl.h> --- 4113 unchanged lines hidden (view full) --- 4153acpi_pm_register(void *arg) 4154{ 4155 if (!cold || resource_disabled("acpi", 0)) 4156 return; 4157 4158 power_pm_register(POWER_PM_TYPE_ACPI, acpi_pm_func, NULL); 4159} 4160 |
4161SYSINIT(power, SI_SUB_KLD, SI_ORDER_ANY, acpi_pm_register, 0); | 4161SYSINIT(power, SI_SUB_KLD, SI_ORDER_ANY, acpi_pm_register, NULL); |