summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2015-07-17 06:13:45 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2015-07-17 06:13:45 +0000
commite87451d6b1516249334cfdc227f03131413c35c4 (patch)
treea5a5464f6f3226793d8cf4341c449a57de65ea73 /sys/arch
parentf5071f788e93c831c4822f1a6bc36a9418b62667 (diff)
"are we 386, 386sx, or 486, or Pentium, or.."
I'm pretty sure the amd64 kernel won't boot on any of those CPUs, so delete the (unused) variable that was supposed to track which 32 bit CPU we were running on.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/locore.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/locore.S b/sys/arch/amd64/amd64/locore.S
index ad7885533d0..df4cea82082 100644
--- a/sys/arch/amd64/amd64/locore.S
+++ b/sys/arch/amd64/amd64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.70 2015/07/16 23:04:12 mlarkin Exp $ */
+/* $OpenBSD: locore.S,v 1.71 2015/07/17 06:13:44 mlarkin Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@ -180,8 +180,6 @@ _C_LABEL(lapic_isr):
.globl _C_LABEL(biosbasemem),_C_LABEL(biosextmem)
.globl _C_LABEL(bootapiver)
.globl _C_LABEL(pg_nx)
-_C_LABEL(cpu): .long 0 # are we 386, 386sx, or 486,
- # or Pentium, or..
_C_LABEL(cpu_id): .long 0 # saved from `cpuid' instruction
_C_LABEL(cpu_feature): .long 0 # feature flags from 'cpuid'
# instruction