summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2016-01-10 22:30:24 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2016-01-10 22:30:24 +0000
commit7519fcf7e1f1a771526b13b7a28a79c0e16c5727 (patch)
treeb2fc24e12030d4ac7ba859ba6bd0949a69f433eb /sys/arch/i386
parentbb2928dd6d4182f524f88dd87d98db9cef3ba9a0 (diff)
match up code and comments, add missing $OpenBSD$; ok jsing@ a while ago
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/libsa/random_i386.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/random_i386.S b/sys/arch/i386/stand/libsa/random_i386.S
index dc94f373449..de1023d480f 100644
--- a/sys/arch/i386/stand/libsa/random_i386.S
+++ b/sys/arch/i386/stand/libsa/random_i386.S
@@ -1,3 +1,5 @@
+/* $OpenBSD: random_i386.S,v 1.8 2016/01/10 22:30:23 naddy Exp $ */
+
/*
* Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
*
@@ -46,9 +48,9 @@ ENTRY(mdrandom)
cpuid
cmpl $0x756e6547, %ebx // "Genu"
jne done
- cmpl $0x6c65746e, %ecx // "ineI"
+ cmpl $0x49656e69, %edx // "ineI"
jne done
- cmpl $0x49656e69, %edx // "ntel"
+ cmpl $0x6c65746e, %ecx // "ntel"
jne done
// CPUID leaf = 1, subleaf = 0