summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pc98/pc98/machdep.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 92f0dcc..4435186 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -1359,21 +1359,6 @@ idle_sysctl(SYSCTL_HANDLER_ARGS)
SYSCTL_PROC(_machdep, OID_AUTO, idle, CTLTYPE_STRING | CTLFLAG_RW, 0, 0,
idle_sysctl, "A", "currently selected idle function");
-uint64_t (*atomic_load_acq_64)(volatile uint64_t *) =
- atomic_load_acq_64_i386;
-void (*atomic_store_rel_64)(volatile uint64_t *, uint64_t) =
- atomic_store_rel_64_i386;
-
-static void
-cpu_probe_cmpxchg8b(void)
-{
-
- if ((cpu_feature & CPUID_CX8) != 0) {
- atomic_load_acq_64 = atomic_load_acq_64_i586;
- atomic_store_rel_64 = atomic_store_rel_64_i586;
- }
-}
-
/*
* Reset registers to default values on exec.
*/
@@ -2422,8 +2407,6 @@ init386(first)
thread0.td_pcb->pcb_cr3 = (int)IdlePTD;
thread0.td_pcb->pcb_ext = 0;
thread0.td_frame = &proc0_tf;
-
- cpu_probe_cmpxchg8b();
}
void
OpenPOWER on IntegriCloud