Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/include Add END(y) as i386/asm.h does.



details:   https://anonhg.NetBSD.org/src/rev/1f979787f0f7
branches:  trunk
changeset: 787504:1f979787f0f7
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Jun 21 02:47:06 2013 +0000

description:
Add END(y) as i386/asm.h does.

diffstat:

 sys/arch/amd64/include/asm.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d6e2209cf640 -r 1f979787f0f7 sys/arch/amd64/include/asm.h
--- a/sys/arch/amd64/include/asm.h      Fri Jun 21 01:40:24 2013 +0000
+++ b/sys/arch/amd64/include/asm.h      Fri Jun 21 02:47:06 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.15 2012/06/11 15:18:05 chs Exp $     */
+/*     $NetBSD: asm.h,v 1.16 2013/06/21 02:47:06 uebayasi Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -104,6 +104,7 @@
 #define        ALTENTRY(x)     NENTRY(x)
 #define        ASENTRY(y)      _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE
 #define        LABEL(y)        _LABEL(_C_LABEL(y))
+#define        END(y)          .size y, . - y
 
 #define        ASMSTR          .asciz
 



Home | Main Index | Thread Index | Old Index