Module Name: src
Committed By: ozaki-r
Date: Fri Sep 29 03:17:18 UTC 2017
Modified Files:
src/sys/arch/x86/include: pmap.h
Log Message:
Fix build
sys/arch/x86/x86/cpu.c:920:20: error: 'pmap_largepages' undeclared (first use
in this function)
smp_data.large = (pmap_largepages != 0);
^
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/include/pmap.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/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.67 src/sys/arch/x86/include/pmap.h:1.68
--- src/sys/arch/x86/include/pmap.h:1.67 Sat Jun 17 08:07:03 2017
+++ src/sys/arch/x86/include/pmap.h Fri Sep 29 03:17:18 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.67 2017/06/17 08:07:03 maxv Exp $ */
+/* $NetBSD: pmap.h,v 1.68 2017/09/29 03:17:18 ozaki-r Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -200,6 +200,7 @@ extern u_long PDPpaddr;
extern pd_entry_t pmap_pg_g; /* do we support PG_G? */
extern pd_entry_t pmap_pg_nx; /* do we support PG_NX? */
+extern int pmap_largepages;
extern long nkptp[PTP_LEVELS];
/*