Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/cpuctl/arch Fix copy&paste error, the function is n...



details:   https://anonhg.NetBSD.org/src/rev/0feb0850c2e6
branches:  trunk
changeset: 451241:0feb0850c2e6
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat May 11 12:24:42 2019 +0000

description:
Fix copy&paste error, the function is named rdmsr().

Found by kre@

diffstat:

 usr.sbin/cpuctl/arch/i386-asm.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r f1d6286ea48f -r 0feb0850c2e6 usr.sbin/cpuctl/arch/i386-asm.S
--- a/usr.sbin/cpuctl/arch/i386-asm.S   Sat May 11 11:59:21 2019 +0000
+++ b/usr.sbin/cpuctl/arch/i386-asm.S   Sat May 11 12:24:42 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i386-asm.S,v 1.5 2019/05/10 16:42:57 mlelstv Exp $     */
+/*     $NetBSD: i386-asm.S,v 1.6 2019/05/11 12:24:42 mlelstv Exp $     */
 
 /*-
  * Copyright (c) 1998, 2000, 2004, 2006, 2007 The NetBSD Foundation, Inc.
@@ -164,11 +164,11 @@
        movl    $CPU_486DLC,%eax
        ret
 
-ENTRY(rdmsr_locked)
+ENTRY(rdmsr)
        movl    4(%esp), %ecx
        pushl   %edi
        movl    $OPTERON_MSR_PASSCODE, %edi
        rdmsr
        popl    %edi
        ret
-END(rdmsr_locked)
+END(rdmsr)



Home | Main Index | Thread Index | Old Index