Module Name:    src
Committed By:   rin
Date:           Thu Dec  3 10:23:45 UTC 2020

Modified Files:
        src/sys/arch/arm/arm32: db_machdep.c

Log Message:
tlb_print_*() are used only if _ARM_ARCH_7; caught by clang -Wunused-function.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/arm/arm32/db_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/arm/arm32/db_machdep.c
diff -u src/sys/arch/arm/arm32/db_machdep.c:1.37 src/sys/arch/arm/arm32/db_machdep.c:1.38
--- src/sys/arch/arm/arm32/db_machdep.c:1.37	Fri Oct 30 18:54:36 2020
+++ src/sys/arch/arm/arm32/db_machdep.c	Thu Dec  3 10:23:45 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_machdep.c,v 1.37 2020/10/30 18:54:36 skrll Exp $	*/
+/*	$NetBSD: db_machdep.c,v 1.38 2020/12/03 10:23:45 rin Exp $	*/
 
 /*
  * Copyright (c) 1996 Mark Brinicombe
@@ -34,7 +34,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.37 2020/10/30 18:54:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.38 2020/12/03 10:23:45 rin Exp $");
 
 #include <sys/param.h>
 
@@ -220,6 +220,7 @@ db_reset_cmd(db_expr_t addr, bool have_a
 	cpu_reset_address();
 }
 
+#ifdef _ARM_ARCH_7
 static void
 tlb_print_common_header(const char *str)
 {
@@ -405,7 +406,6 @@ tlb_lookup_tlbinfo(void)
 	return NULL;
 }
 
-#ifdef _ARM_ARCH_7
 void
 db_show_tlb_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif)
 {

Reply via email to