Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/include Put some common entry stuff into _ENTR...



details:   https://anonhg.NetBSD.org/src/rev/44befaa56945
branches:  trunk
changeset: 787915:44befaa56945
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jul 13 10:26:30 2013 +0000

description:
Put some common entry stuff into _ENTRY and use it.

diffstat:

 sys/arch/hppa/include/asm.h |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 9d2c5d9f11f8 -r 44befaa56945 sys/arch/hppa/include/asm.h
--- a/sys/arch/hppa/include/asm.h       Sat Jul 13 09:48:26 2013 +0000
+++ b/sys/arch/hppa/include/asm.h       Sat Jul 13 10:26:30 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.13 2011/02/12 16:31:32 matt Exp $    */
+/*     $NetBSD: asm.h,v 1.14 2013/07/13 10:26:30 skrll Exp $   */
 
 /*     $OpenBSD: asm.h,v 1.12 2001/03/29 02:15:57 mickey Exp $ */
 
@@ -42,15 +42,17 @@
 
 #define _ASM_LS_CHAR   !
 
-#define        LEAF_ENTRY_NOPROFILE(x)                         !\
+#define        _ENTRY(x) \
         ! .text ! .align 4                             !\
-       .export x, entry ! .label x ! .proc             !\
+       .export x, entry ! .label x ! .proc
+
+#define        LEAF_ENTRY_NOPROFILE(x)                         !\
+       _ENTRY(x)                                       !\
        .callinfo frame=0, no_calls, save_rp            !\
        .entry
 
 #define        ENTRY_NOPROFILE(x,n)                            !\
-        ! .text ! .align 4                             !\
-       .export x, entry ! .label x ! .proc             !\
+       _ENTRY(x)                                       !\
        .callinfo frame=n, calls, save_rp, save_sp      !\
        .entry
 



Home | Main Index | Thread Index | Old Index