diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch) | |
tree | e999c95eb5db56737efc17feeb385a77941021bb /sys/amd64/isa | |
parent | 9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff) | |
download | FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.zip FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.tar.gz |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/intr_machdep.h | 4 | ||||
-rw-r--r-- | sys/amd64/isa/isa_dma.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/isa/intr_machdep.h b/sys/amd64/isa/intr_machdep.h index cf0667c..cc6ca67 100644 --- a/sys/amd64/isa/intr_machdep.h +++ b/sys/amd64/isa/intr_machdep.h @@ -40,7 +40,7 @@ * Low level interrupt code. */ -#ifdef KERNEL +#ifdef _KERNEL #if defined(SMP) || defined(APIC_IO) /* @@ -208,6 +208,6 @@ int inthand_remove(struct intrec *idesc); #endif /* LOCORE */ -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_I386_ISA_INTR_MACHDEP_H_ */ diff --git a/sys/amd64/isa/isa_dma.h b/sys/amd64/isa/isa_dma.h index 15f8b3d..7f9396a 100644 --- a/sys/amd64/isa/isa_dma.h +++ b/sys/amd64/isa/isa_dma.h @@ -37,7 +37,7 @@ #ifndef _I386_ISA_ISA_DMA_H_ #define _I386_ISA_ISA_DMA_H_ -#ifdef KERNEL +#ifdef _KERNEL void isa_dmacascade __P((int chan)); void isa_dmadone __P((int flags, caddr_t addr, int nbytes, int chan)); void isa_dmainit __P((int chan, u_int bouncebufsize)); @@ -46,6 +46,6 @@ int isa_dma_acquire __P((int chan)); void isa_dma_release __P((int chan)); int isa_dmastatus __P((int chan)); int isa_dmastop __P((int chan)); -#endif /* KERNEL */ +#endif #endif /* !_I386_ISA_ISA_DMA_H_ */ |