include machine/mpconfig.h so that these files can be compiled
with ACPI but without MPBIOS.
This commit is contained in:
parent
3481053ae9
commit
cbba26f6cd
@ -103,7 +103,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.10 2006/10/12 09:01:02 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.11 2006/10/15 13:31:18 yamt Exp $");
|
||||
|
||||
#include "opt_multiprocessor.h"
|
||||
#include "opt_xen.h"
|
||||
@ -142,6 +142,7 @@ int irq2vect[256] = {0};
|
||||
int vect2irq[256] = {0};
|
||||
#endif /* NIOAPIC */
|
||||
#if NACPI > 0
|
||||
#include <machine/mpconfig.h>
|
||||
#include <machine/mpacpi.h>
|
||||
#endif
|
||||
#ifdef MPBIOS
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hypervisor.c,v 1.27 2006/09/28 18:53:16 bouyer Exp $ */
|
||||
/* $NetBSD: hypervisor.c,v 1.28 2006/10/15 13:31:18 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2005 Manuel Bouyer.
|
||||
@ -63,7 +63,7 @@
|
||||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.27 2006/09/28 18:53:16 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.28 2006/10/15 13:31:18 yamt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -112,6 +112,7 @@ __KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.27 2006/09/28 18:53:16 bouyer Exp $
|
||||
#if NACPI > 0
|
||||
#include <dev/acpi/acpivar.h>
|
||||
#include <dev/acpi/acpi_madt.h>
|
||||
#include <machine/mpconfig.h>
|
||||
#include <machine/mpacpi.h>
|
||||
#endif
|
||||
#ifdef MPBIOS
|
||||
|
Loading…
Reference in New Issue
Block a user