Module Name:    src
Committed By:   christos
Date:           Sun Jan  6 15:37:18 UTC 2019

Modified Files:
        src/sys/arch/x86/x86: procfs_machdep.c

Log Message:
restore original now that weak symbols are gone


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x86/x86/procfs_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/procfs_machdep.c
diff -u src/sys/arch/x86/x86/procfs_machdep.c:1.26 src/sys/arch/x86/x86/procfs_machdep.c:1.27
--- src/sys/arch/x86/x86/procfs_machdep.c:1.26	Sat Jan  5 15:32:02 2019
+++ src/sys/arch/x86/x86/procfs_machdep.c	Sun Jan  6 10:37:17 2019
@@ -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 @@ procfs_getonecpu(int xcpu, struct cpu_in
 	    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
 	);

Reply via email to