diff options
author | bde <bde@FreeBSD.org> | 1997-11-18 11:32:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-18 11:32:31 +0000 |
commit | dcdbeebf147c1d36d12636e5fe19bbefd9c3d0f3 (patch) | |
tree | 4f3154de795bdaa2a6a9a2cc19b1e2b33e2d0c03 | |
parent | 050f62450b318cffbb2e37e459f231c491b46abf (diff) | |
download | FreeBSD-src-dcdbeebf147c1d36d12636e5fe19bbefd9c3d0f3.zip FreeBSD-src-dcdbeebf147c1d36d12636e5fe19bbefd9c3d0f3.tar.gz |
Removed an unused #included.
Ifdefed #includes that are not used in the SMP case.
-rw-r--r-- | sys/amd64/amd64/fpu.c | 13 | ||||
-rw-r--r-- | sys/amd64/isa/npx.c | 13 | ||||
-rw-r--r-- | sys/i386/isa/npx.c | 13 |
3 files changed, 30 insertions, 9 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 1b2fd6f..0885b86 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -32,13 +32,12 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.52 1997/08/21 06:32:58 charnier Exp $ + * $Id: npx.c,v 1.53 1997/10/28 11:43:54 bde Exp $ */ #include "npx.h" #if NNPX > 0 -#include "opt_cpu.h" #include "opt_math_emulate.h" #include <sys/param.h> @@ -52,21 +51,29 @@ #endif #include <sys/signalvar.h> +#ifndef SMP #include <machine/asmacros.h> +#endif #include <machine/cputypes.h> #include <machine/frame.h> #include <machine/ipl.h> +#ifndef SMP #include <machine/md_var.h> +#endif #include <machine/pcb.h> #include <machine/psl.h> +#ifndef SMP #include <machine/clock.h> +#endif #include <machine/specialreg.h> #include <machine/segments.h> +#ifndef SMP #include <i386/isa/icu.h> -#include <i386/isa/isa_device.h> #include <i386/isa/intr_machdep.h> #include <i386/isa/isa.h> +#endif +#include <i386/isa/isa_device.h> /* * 387 and 287 Numeric Coprocessor Extension (NPX) Driver. diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index 1b2fd6f..0885b86 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -32,13 +32,12 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.52 1997/08/21 06:32:58 charnier Exp $ + * $Id: npx.c,v 1.53 1997/10/28 11:43:54 bde Exp $ */ #include "npx.h" #if NNPX > 0 -#include "opt_cpu.h" #include "opt_math_emulate.h" #include <sys/param.h> @@ -52,21 +51,29 @@ #endif #include <sys/signalvar.h> +#ifndef SMP #include <machine/asmacros.h> +#endif #include <machine/cputypes.h> #include <machine/frame.h> #include <machine/ipl.h> +#ifndef SMP #include <machine/md_var.h> +#endif #include <machine/pcb.h> #include <machine/psl.h> +#ifndef SMP #include <machine/clock.h> +#endif #include <machine/specialreg.h> #include <machine/segments.h> +#ifndef SMP #include <i386/isa/icu.h> -#include <i386/isa/isa_device.h> #include <i386/isa/intr_machdep.h> #include <i386/isa/isa.h> +#endif +#include <i386/isa/isa_device.h> /* * 387 and 287 Numeric Coprocessor Extension (NPX) Driver. diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 1b2fd6f..0885b86 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -32,13 +32,12 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.52 1997/08/21 06:32:58 charnier Exp $ + * $Id: npx.c,v 1.53 1997/10/28 11:43:54 bde Exp $ */ #include "npx.h" #if NNPX > 0 -#include "opt_cpu.h" #include "opt_math_emulate.h" #include <sys/param.h> @@ -52,21 +51,29 @@ #endif #include <sys/signalvar.h> +#ifndef SMP #include <machine/asmacros.h> +#endif #include <machine/cputypes.h> #include <machine/frame.h> #include <machine/ipl.h> +#ifndef SMP #include <machine/md_var.h> +#endif #include <machine/pcb.h> #include <machine/psl.h> +#ifndef SMP #include <machine/clock.h> +#endif #include <machine/specialreg.h> #include <machine/segments.h> +#ifndef SMP #include <i386/isa/icu.h> -#include <i386/isa/isa_device.h> #include <i386/isa/intr_machdep.h> #include <i386/isa/isa.h> +#endif +#include <i386/isa/isa_device.h> /* * 387 and 287 Numeric Coprocessor Extension (NPX) Driver. |