Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/sh3 Declare __db_cachedump_sh3/sh4 __noinline too.



details:   https://anonhg.NetBSD.org/src/rev/bf919eae9d67
branches:  trunk
changeset: 936747:bf919eae9d67
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Aug 03 01:18:45 2020 +0000

description:
Declare __db_cachedump_sh3/sh4 __noinline too.

Previous commit only did that for the definitions.  Forgot to apply
the attribute to the declarations too.

diffstat:

 sys/arch/sh3/sh3/db_interface.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 5c0c51e8d0f0 -r bf919eae9d67 sys/arch/sh3/sh3/db_interface.c
--- a/sys/arch/sh3/sh3/db_interface.c   Mon Aug 03 01:14:26 2020 +0000
+++ b/sys/arch/sh3/sh3/db_interface.c   Mon Aug 03 01:18:45 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.62 2020/08/03 01:14:26 uwe Exp $    */
+/*     $NetBSD: db_interface.c,v 1.63 2020/08/03 01:18:45 uwe Exp $    */
 
 /*-
  * Copyright (C) 2002 UCHIYAMA Yasushi.  All rights reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.62 2020/08/03 01:14:26 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.63 2020/08/03 01:18:45 uwe Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -74,10 +74,10 @@
 
 static void db_cachedump_cmd(db_expr_t, bool, db_expr_t, const char *);
 #ifdef SH3
-static void __db_cachedump_sh3(vaddr_t);
+static __noinline void __db_cachedump_sh3(vaddr_t);
 #endif
 #ifdef SH4
-static void __db_cachedump_sh4(vaddr_t);
+static __noinline void __db_cachedump_sh4(vaddr_t);
 #endif
 
 static void db_frame_cmd(db_expr_t, bool, db_expr_t, const char *);



Home | Main Index | Thread Index | Old Index