Module Name: src
Committed By: nakayama
Date: Tue Sep 8 13:18:06 UTC 2015
Modified Files:
src/sys/arch/sparc64/sparc64: pmap.c
Log Message:
Fix build w/o options SUN4V.
mdesc_get_len() and mdesc_init() are used outside of #ifdef SUN4V,
and eliminated by optimization if SUN4V isn't defined.
To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/sys/arch/sparc64/sparc64/pmap.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/sparc64/sparc64/pmap.c
diff -u src/sys/arch/sparc64/sparc64/pmap.c:1.298 src/sys/arch/sparc64/sparc64/pmap.c:1.299
--- src/sys/arch/sparc64/sparc64/pmap.c:1.298 Sun Sep 6 23:48:39 2015
+++ src/sys/arch/sparc64/sparc64/pmap.c Tue Sep 8 13:18:06 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.298 2015/09/06 23:48:39 nakayama Exp $ */
+/* $NetBSD: pmap.c,v 1.299 2015/09/08 13:18:06 nakayama Exp $ */
/*
*
* Copyright (C) 1996-1999 Eduardo Horvath.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.298 2015/09/06 23:48:39 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.299 2015/09/08 13:18:06 nakayama Exp $");
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
#define HWREF
@@ -60,8 +60,8 @@ __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.2
#include <machine/bootinfo.h>
#ifdef SUN4V
#include <machine/hypervisor.h>
-#include <machine/mdesc.h>
#endif
+#include <machine/mdesc.h>
#include <sparc64/sparc64/cache.h>