diff options
author | msmith <msmith@FreeBSD.org> | 1999-08-04 20:24:49 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-08-04 20:24:49 +0000 |
commit | 25f88feae2cdbcc9ceea84638daf31a931fdd445 (patch) | |
tree | 695ff4192503d8cecc6615bbc2264239682a19a9 /sys | |
parent | 739cc834e6492d2fc1395af1e6cd0cd6ac828967 (diff) | |
download | FreeBSD-src-25f88feae2cdbcc9ceea84638daf31a931fdd445.zip FreeBSD-src-25f88feae2cdbcc9ceea84638daf31a931fdd445.tar.gz |
Fix typo which would have caused MTRR support on non-SMP systems to
behave in an utterly random fashion.
Submitted by: gibbs
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/amd64_mem.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/i686_mem.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/amd64_mem.c b/sys/amd64/amd64/amd64_mem.c index b751215..d971aa9 100644 --- a/sys/amd64/amd64/amd64_mem.c +++ b/sys/amd64/amd64/amd64_mem.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: i686_mem.c,v 1.3 1999/06/18 19:24:40 green Exp $ + * $Id: i686_mem.c,v 1.4 1999/07/20 06:58:51 msmith Exp $ */ #include "opt_smp.h" @@ -253,7 +253,7 @@ i686_mrstore(struct mem_range_softc *sc) smp_rendezvous(NULL, i686_mrstoreone, NULL, (void *)sc); #else disable_intr(); /* disable interrupts */ - i686_mrstoreone((void *)&sc); + i686_mrstoreone((void *)sc); enable_intr(); #endif } diff --git a/sys/i386/i386/i686_mem.c b/sys/i386/i386/i686_mem.c index b751215..d971aa9 100644 --- a/sys/i386/i386/i686_mem.c +++ b/sys/i386/i386/i686_mem.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: i686_mem.c,v 1.3 1999/06/18 19:24:40 green Exp $ + * $Id: i686_mem.c,v 1.4 1999/07/20 06:58:51 msmith Exp $ */ #include "opt_smp.h" @@ -253,7 +253,7 @@ i686_mrstore(struct mem_range_softc *sc) smp_rendezvous(NULL, i686_mrstoreone, NULL, (void *)sc); #else disable_intr(); /* disable interrupts */ - i686_mrstoreone((void *)&sc); + i686_mrstoreone((void *)sc); enable_intr(); #endif } |