Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include Fix build
details: https://anonhg.NetBSD.org/src/rev/20c994faa069
branches: trunk
changeset: 356481:20c994faa069
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Sep 29 03:17:18 2017 +0000
description:
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);
^
diffstat:
sys/arch/x86/include/pmap.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 88df79771c2f -r 20c994faa069 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h Fri Sep 29 00:04:33 2017 +0000
+++ b/sys/arch/x86/include/pmap.h Fri Sep 29 03:17:18 2017 +0000
@@ -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 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];
/*
Home |
Main Index |
Thread Index |
Old Index