Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 restore original now that weak symbols are ...



details:   https://anonhg.NetBSD.org/src/rev/b2f389174e42
branches:  trunk
changeset: 447282:b2f389174e42
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 06 15:37:17 2019 +0000

description:
restore original now that weak symbols are gone

diffstat:

 sys/arch/x86/x86/procfs_machdep.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r 01a499534a0f -r b2f389174e42 sys/arch/x86/x86/procfs_machdep.c
--- a/sys/arch/x86/x86/procfs_machdep.c Sun Jan 06 14:35:31 2019 +0000
+++ b/sys/arch/x86/x86/procfs_machdep.c Sun Jan 06 15:37:17 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_machdep.c,v 1.26 2019/01/05 20:32:02 christos Exp $ */
+/*     $NetBSD: procfs_machdep.c,v 1.27 2019/01/06 15:37:17 christos Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.26 2019/01/05 20:32:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.27 2019/01/06 15:37:17 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -447,12 +447,7 @@
            i386_fpu_fdivbug ? "yes" : "no",    /* an old pentium */
 #endif
            ci->ci_max_cpuid,
-#ifdef notyet
-       // XXX: Fixme Weak symbols are not supported in modules
            (rcr0() & CR0_WP) ? "yes" : "no",
-#else
-           "no",
-#endif
            featurebuf,
            ci->ci_cflush_lsize
        );



Home | Main Index | Thread Index | Old Index