summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/locore.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S
index cfda86f..8cefbcc 100644
--- a/i386/i386/locore.S
+++ b/i386/i386/locore.S
@@ -1183,6 +1183,8 @@ ENTRY(discover_x86_cpu_type)
movl %esp,%ebp /* Save stack pointer */
and $~0x3,%esp /* Align stack pointer */
+#if 0
+/* Seems to hang with kvm linux 4.3.0 */
#ifdef MACH_HYP
#warning Assuming not Cyrix CPU
#else /* MACH_HYP */
@@ -1190,6 +1192,7 @@ ENTRY(discover_x86_cpu_type)
andb $0x80,%al /* ... in CCR4 reg bit7 */
outb %al,$0xe8
#endif /* MACH_HYP */
+#endif
pushfl /* Fetch flags ... */
popl %eax /* ... into eax */