summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/isa/intr_machdep.c3
-rw-r--r--sys/amd64/isa/nmi.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/amd64/isa/intr_machdep.c b/sys/amd64/isa/intr_machdep.c
index 16c6160..576b054 100644
--- a/sys/amd64/isa/intr_machdep.c
+++ b/sys/amd64/isa/intr_machdep.c
@@ -66,6 +66,7 @@
#if defined(APIC_IO)
#include <machine/smp.h>
#include <machine/smptests.h> /** FAST_HI */
+#include <machine/resource.h>
#endif /* APIC_IO */
#ifdef PC98
#include <pc98/pc98/pc98.h>
@@ -188,7 +189,7 @@ atpic_attach(device_t dev)
{
#ifdef APIC_IO
int rid;
- bus_resource_t res;
+ struct resource *res;
/* try to allocate our IRQ and then free it */
rid = 0;
diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c
index 16c6160..576b054 100644
--- a/sys/amd64/isa/nmi.c
+++ b/sys/amd64/isa/nmi.c
@@ -66,6 +66,7 @@
#if defined(APIC_IO)
#include <machine/smp.h>
#include <machine/smptests.h> /** FAST_HI */
+#include <machine/resource.h>
#endif /* APIC_IO */
#ifdef PC98
#include <pc98/pc98/pc98.h>
@@ -188,7 +189,7 @@ atpic_attach(device_t dev)
{
#ifdef APIC_IO
int rid;
- bus_resource_t res;
+ struct resource *res;
/* try to allocate our IRQ and then free it */
rid = 0;
OpenPOWER on IntegriCloud