Module Name:    src
Committed By:   isaki
Date:           Sat Jun 25 08:19:01 UTC 2022

Modified Files:
        src/sys/arch/x68k/x68k: machdep.c

Log Message:
Fix build without EXTENDED_MEMORY.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/arch/x68k/x68k/machdep.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/x68k/x68k/machdep.c
diff -u src/sys/arch/x68k/x68k/machdep.c:1.207 src/sys/arch/x68k/x68k/machdep.c:1.208
--- src/sys/arch/x68k/x68k/machdep.c:1.207	Sat Oct  9 20:00:42 2021
+++ src/sys/arch/x68k/x68k/machdep.c	Sat Jun 25 08:19:01 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.207 2021/10/09 20:00:42 tsutsui Exp $	*/
+/*	$NetBSD: machdep.c,v 1.208 2022/06/25 08:19:01 isaki Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.207 2021/10/09 20:00:42 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.208 2022/06/25 08:19:01 isaki Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1256,7 +1256,9 @@ cpu_intr_p(void)
 int
 mm_md_physacc(paddr_t pa, vm_prot_t prot)
 {
+#ifdef EXTENDED_MEMORY
 	int i;
+#endif
 
 	/* Main memory */
 	if (phys_basemem_seg.start <= pa && pa < phys_basemem_seg.end)

Reply via email to