diff options
author | bde <bde@FreeBSD.org> | 1997-11-18 09:27:23 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-18 09:27:23 +0000 |
commit | 50390b0fa21f997e7926592fc9dd0a348aaa11e1 (patch) | |
tree | a862d9f31c7e556448696f86348b3be7bd5b6b02 | |
parent | fca2b41ef449fceb4770419ceae4749a3f4683c2 (diff) | |
download | FreeBSD-src-50390b0fa21f997e7926592fc9dd0a348aaa11e1.zip FreeBSD-src-50390b0fa21f997e7926592fc9dd0a348aaa11e1.tar.gz |
Don't #include <machine/smp.h> even in the SMP case. Fixed the one
place that depended on it. The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more. It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 5 | ||||
-rw-r--r-- | sys/i386/i386/vm_machdep.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index ae8fae7..e18e2a5 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.89 1997/09/13 16:12:04 joerg Exp $ + * $Id: vm_machdep.c,v 1.90 1997/10/10 09:44:12 peter Exp $ */ #include "npx.h" @@ -56,6 +56,9 @@ #include <machine/clock.h> #include <machine/cpu.h> #include <machine/md_var.h> +#ifdef SMP +#include <machine/smp.h> +#endif #include <vm/vm.h> #include <vm/vm_param.h> diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index ae8fae7..e18e2a5 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.89 1997/09/13 16:12:04 joerg Exp $ + * $Id: vm_machdep.c,v 1.90 1997/10/10 09:44:12 peter Exp $ */ #include "npx.h" @@ -56,6 +56,9 @@ #include <machine/clock.h> #include <machine/cpu.h> #include <machine/md_var.h> +#ifdef SMP +#include <machine/smp.h> +#endif #include <vm/vm.h> #include <vm/vm_param.h> |