Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/arch/x86/x86 Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/d4f7d9687dc3
branches: netbsd-9
changeset: 1026794:d4f7d9687dc3
user: martin <martin%NetBSD.org@localhost>
date: Tue Dec 07 12:39:23 2021 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #1390):
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 7a0e0966f5c6 -r d4f7d9687dc3 sys/arch/x86/x86/identcpu.c
--- a/sys/arch/x86/x86/identcpu.c Tue Dec 07 12:35:27 2021 +0000
+++ b/sys/arch/x86/x86/identcpu.c Tue Dec 07 12:39:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: identcpu.c,v 1.93.2.2 2021/12/07 12:35:27 martin Exp $ */
+/* $NetBSD: identcpu.c,v 1.93.2.3 2021/12/07 12:39:23 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.93.2.2 2021/12/07 12:35:27 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.93.2.3 2021/12/07 12:39:23 martin Exp $");
#include "opt_xen.h"
@@ -478,7 +478,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