summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-08-04 20:24:49 +0000
committermsmith <msmith@FreeBSD.org>1999-08-04 20:24:49 +0000
commit25f88feae2cdbcc9ceea84638daf31a931fdd445 (patch)
tree695ff4192503d8cecc6615bbc2264239682a19a9 /sys/amd64
parent739cc834e6492d2fc1395af1e6cd0cd6ac828967 (diff)
downloadFreeBSD-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/amd64')
-rw-r--r--sys/amd64/amd64/amd64_mem.c4
1 files changed, 2 insertions, 2 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
}
OpenPOWER on IntegriCloud