Module Name:    src
Committed By:   christos
Date:           Sat Jan  5 20:32:02 UTC 2019

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

Log Message:
Comment out rcr0 use until the weak symbol mess is undone.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/sys/arch/x86/x86/procfs_machdep.c:1.26
--- src/sys/arch/x86/x86/procfs_machdep.c:1.25	Wed Nov 14 23:53:54 2018
+++ src/sys/arch/x86/x86/procfs_machdep.c	Sat Jan  5 15:32:02 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: procfs_machdep.c,v 1.25 2018/11/15 04:53:54 msaitoh Exp $ */
+/*	$NetBSD: procfs_machdep.c,v 1.26 2019/01/05 20:32:02 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.25 2018/11/15 04:53:54 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.26 2019/01/05 20:32:02 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -447,7 +447,12 @@ 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