Module Name: src
Committed By: skrll
Date: Sat Jul 13 10:26:31 UTC 2013
Modified Files:
src/sys/arch/hppa/include: asm.h
Log Message:
Put some common entry stuff into _ENTRY and use it.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/hppa/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/hppa/include/asm.h
diff -u src/sys/arch/hppa/include/asm.h:1.13 src/sys/arch/hppa/include/asm.h:1.14
--- src/sys/arch/hppa/include/asm.h:1.13 Sat Feb 12 16:31:32 2011
+++ src/sys/arch/hppa/include/asm.h Sat Jul 13 10:26:30 2013
@@ -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