Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include mark STATIC_NESTED_NOPROFILE() functio...



details:   https://anonhg.NetBSD.org/src/rev/7965cd3d52da
branches:  trunk
changeset: 993303:7965cd3d52da
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Sep 04 00:01:41 2018 +0000

description:
mark STATIC_NESTED_NOPROFILE() functions as functions.

diffstat:

 sys/arch/mips/include/asm.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 3aec320ebdf7 -r 7965cd3d52da sys/arch/mips/include/asm.h
--- a/sys/arch/mips/include/asm.h       Tue Sep 04 00:00:47 2018 +0000
+++ b/sys/arch/mips/include/asm.h       Tue Sep 04 00:01:41 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.54 2017/02/25 21:16:50 joerg Exp $   */
+/*     $NetBSD: asm.h,v 1.55 2018/09/04 00:01:41 mrg Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -169,8 +169,9 @@
  *     No profilable local nested routine.
  */
 #define        STATIC_NESTED_NOPROFILE(x, fsize, retpc)        \
-       .ent    _C_LABEL(x);                    \
-_C_LABEL(x): ;                                 \
+       .ent    _C_LABEL(x);                            \
+       .type   _C_LABEL(x), @function;                 \
+_C_LABEL(x): ;                                         \
        .frame  sp, fsize, retpc
 
 /*



Home | Main Index | Thread Index | Old Index