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/76611508447a
branches:  trunk
changeset: 995804:76611508447a
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 e9a3b0d67382 -r 76611508447a 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