Module Name:    src
Committed By:   uebayasi
Date:           Sat Jun 22 07:31:36 UTC 2013

Modified Files:
        src/sys/arch/amd64/include: asm.h

Log Message:
Define IDTVEC_END(), from i386/asm.h.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amd64/include/asm.h

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/amd64/include/asm.h
diff -u src/sys/arch/amd64/include/asm.h:1.16 src/sys/arch/amd64/include/asm.h:1.17
--- src/sys/arch/amd64/include/asm.h:1.16	Fri Jun 21 02:47:06 2013
+++ src/sys/arch/amd64/include/asm.h	Sat Jun 22 07:31:36 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: asm.h,v 1.16 2013/06/21 02:47:06 uebayasi Exp $	*/
+/*	$NetBSD: asm.h,v 1.17 2013/06/22 07:31:36 uebayasi Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -79,9 +79,13 @@
 #ifdef __STDC__
 #define	IDTVEC(name) \
 	ALIGN_TEXT; .globl X ## name; .type X ## name,@function; X ## name:
+#define	IDTVEC_END(name) \
+	.size X ## name, . - X ## name
 #else 
 #define	IDTVEC(name) \
 	ALIGN_TEXT; .globl X/**/name; .type X/**/name,@function; X/**/name:
+#define	IDTVEC_END(name) \
+	.size X/**/name, . - X/**/name
 #endif /* __STDC__ */ 
 #endif /* _KERNEL */
 

Reply via email to