Module Name: src
Committed By: lukem
Date: Wed Apr 15 05:56:36 UTC 2009
Modified Files:
src/sys/arch/x86/include: cacheinfo.h
Log Message:
Constify a userland-only member.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x86/include/cacheinfo.h
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/include/cacheinfo.h
diff -u src/sys/arch/x86/include/cacheinfo.h:1.9 src/sys/arch/x86/include/cacheinfo.h:1.10
--- src/sys/arch/x86/include/cacheinfo.h:1.9 Fri May 30 21:53:00 2008
+++ src/sys/arch/x86/include/cacheinfo.h Wed Apr 15 05:56:36 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: cacheinfo.h,v 1.9 2008/05/30 21:53:00 christos Exp $ */
+/* $NetBSD: cacheinfo.h,v 1.10 2009/04/15 05:56:36 lukem Exp $ */
#ifndef _X86_CACHEINFO_H_
#define _X86_CACHEINFO_H_
@@ -10,7 +10,7 @@
u_int cai_totalsize; /* #entries for TLB, bytes for cache */
u_int cai_linesize; /* or page size for TLB */
#ifndef _KERNEL
- char *cai_string;
+ const char *cai_string;
#endif
};