Fixed atpic_attach() for the SMP (specifically APIC_IO) case.

Approved by:	msmith@freebsd.org
This commit is contained in:
fsmp 2000-06-24 23:55:38 +00:00
parent 18582947bd
commit 69318e37be
4 changed files with 8 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;