summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2004-03-09 20:53:01 +0000
committerjb <jb@FreeBSD.org>2004-03-09 20:53:01 +0000
commitdc5da5f8f75ca8ec7e297bce764c536f278339ce (patch)
tree96948a97a51892fe22c16acf5c2be98d5b1cc8ee
parent9d87e57eb47b292cc483611df839d9fbb37945f1 (diff)
downloadFreeBSD-src-dc5da5f8f75ca8ec7e297bce764c536f278339ce.zip
FreeBSD-src-dc5da5f8f75ca8ec7e297bce764c536f278339ce.tar.gz
Remove duplicate code.
Requested by: bde
-rw-r--r--sys/i386/i386/vm_machdep.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c
index 7007e54..b09128d 100644
--- a/sys/i386/i386/vm_machdep.c
+++ b/sys/i386/i386/vm_machdep.c
@@ -43,7 +43,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_cpu.h"
#include "opt_isa.h"
#include "opt_kstack_pages.h"
#include "opt_npx.h"
@@ -78,9 +77,6 @@ __FBSDID("$FreeBSD$");
#include <machine/pcb.h>
#include <machine/pcb_ext.h>
#include <machine/vm86.h>
-#ifdef CPU_ELAN
-#include <machine/elan_mmcr.h>
-#endif
#ifdef CPU_ELAN
#include <machine/elan_mmcr.h>
@@ -563,12 +559,6 @@ cpu_reset_real()
}
outb(0xf0, 0x00); /* Reset. */
#else
-#ifdef CPU_ELAN
- if (elan_mmcr != NULL)
- /* SYS_RST */
- elan_mmcr->RESCFG = 1;
-#endif
-
/*
* Attempt to do a CPU reset via the keyboard controller,
* do not turn of the GateA20, as any machine that fails
OpenPOWER on IntegriCloud