Module Name:    src
Committed By:   matt
Date:           Wed Jul 17 03:04:54 UTC 2013

Modified Files:
        src/lib/libc/arch/m68k/gen: resumecontext.S

Log Message:
Use assym.h


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/arch/m68k/gen/resumecontext.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/m68k/gen/resumecontext.S
diff -u src/lib/libc/arch/m68k/gen/resumecontext.S:1.7 src/lib/libc/arch/m68k/gen/resumecontext.S:1.8
--- src/lib/libc/arch/m68k/gen/resumecontext.S:1.7	Tue Jul 16 22:12:20 2013
+++ src/lib/libc/arch/m68k/gen/resumecontext.S	Wed Jul 17 03:04:54 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: resumecontext.S,v 1.7 2013/07/16 22:12:20 matt Exp $	*/
+/*	$NetBSD: resumecontext.S,v 1.8 2013/07/17 03:04:54 matt Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,9 +30,10 @@
  */
 
 #include <machine/asm.h>
+#include "assym.h"
 
 #if defined(LIBC_SCCS) && !defined(lint)
-	RCSID("$NetBSD: resumecontext.S,v 1.7 2013/07/16 22:12:20 matt Exp $")
+	RCSID("$NetBSD: resumecontext.S,v 1.8 2013/07/17 03:04:54 matt Exp $")
 #endif /* LIBC_SCCS && !lint */
 
 /*
@@ -42,11 +43,11 @@
  */
 
 ENTRY(_resumecontext)
-	subl	#(4 + 1024),%sp		/* retaddr preservation + ucontext_t */
+	subl	#(4 + UC_SIZE),%sp	/* retaddr preservation + ucontext_t */
 	lea	(%sp),%a0
 	movl	%a0,-(%sp)
 	jbsr	PIC_PLT(_C_LABEL(_getcontext))
-	movl	(4 + 4)(%sp),(%sp)	/* uc_link */
+	movl	(4 + UC_LINK)(%sp),(%sp)	/* uc_link */
 	tstl	(%sp)			/* check for NULL */
 	jne	1f
 	jbsr	PIC_PLT(_C_LABEL(exit))	/* cleanly exit(0) */

Reply via email to