Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/include protect kernel variables
details: https://anonhg.NetBSD.org/src/rev/87620d7ef2b2
branches: trunk
changeset: 449899:87620d7ef2b2
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 28 08:33:07 2019 +0000
description:
protect kernel variables
diffstat:
sys/arch/hpcmips/include/vmparam.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r d40a193b897c -r 87620d7ef2b2 sys/arch/hpcmips/include/vmparam.h
--- a/sys/arch/hpcmips/include/vmparam.h Thu Mar 28 08:31:40 2019 +0000
+++ b/sys/arch/hpcmips/include/vmparam.h Thu Mar 28 08:33:07 2019 +0000
@@ -1,9 +1,11 @@
-/* $NetBSD: vmparam.h,v 1.5 2009/12/14 00:46:04 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.6 2019/03/28 08:33:07 christos Exp $ */
#include <mips/vmparam.h>
+#ifdef _KERNEL
#include <sys/kcore.h>
#define VM_PHYSSEG_MAX 5
extern phys_ram_seg_t mem_clusters[];
extern int mem_cluster_cnt;
+#endif
Home |
Main Index |
Thread Index |
Old Index