Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/x86/x86 Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/6d849fe93ba3
branches:  netbsd-8
changeset: 1026797:6d849fe93ba3
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Dec 07 12:40:57 2021 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1719):

        sys/arch/x86/x86/identcpu.c: revision 1.121

make a numeric literal unsigned as it is bit-negated.

diffstat:

 sys/arch/x86/x86/identcpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ebcceb24dd56 -r 6d849fe93ba3 sys/arch/x86/x86/identcpu.c
--- a/sys/arch/x86/x86/identcpu.c       Tue Dec 07 12:37:04 2021 +0000
+++ b/sys/arch/x86/x86/identcpu.c       Tue Dec 07 12:40:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: identcpu.c,v 1.55.2.10 2021/12/07 12:37:04 martin Exp $        */
+/*     $NetBSD: identcpu.c,v 1.55.2.11 2021/12/07 12:40:57 martin Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.55.2.10 2021/12/07 12:37:04 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.55.2.11 2021/12/07 12:40:57 martin Exp $");
 
 #include "opt_xen.h"
 
@@ -465,7 +465,7 @@
        /* cyrix's workaround  for the "coma bug" */
        cyrix_write_reg(0x31, cyrix_read_reg(0x31) | 0xf8);
        cyrix_write_reg(0x32, cyrix_read_reg(0x32) | 0x7f);
-       cyrix_write_reg(0x33, cyrix_read_reg(0x33) & ~0xff);
+       cyrix_write_reg(0x33, cyrix_read_reg(0x33) & ~0xffu);
        cyrix_write_reg(0x3c, cyrix_read_reg(0x3c) | 0x87);
        /* disable access to ccr4/ccr5 */
        cyrix_write_reg(0xC3, c3);



Home | Main Index | Thread Index | Old Index