diff options
| author | petrov <petrov@NetBSD.org> | 2003-05-23 18:20:14 +0000 |
|---|---|---|
| committer | petrov <petrov@NetBSD.org> | 2003-05-23 18:20:14 +0000 |
| commit | 09ec250b4cbc24399d6c81e31adf45ede88ea4d2 (patch) | |
| tree | 1d42a799677c001341d022fc98266f11c2a52eb7 | |
| parent | 7fbb5054ee17b6ee309460aac0ae2f308a36478c (diff) | |
Declare global register.
| -rw-r--r-- | lib/libc/arch/sparc64/gen/swapcontext.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc64/gen/swapcontext.S b/lib/libc/arch/sparc64/gen/swapcontext.S index 7e1048c348d..f736da8497d 100644 --- a/lib/libc/arch/sparc64/gen/swapcontext.S +++ b/lib/libc/arch/sparc64/gen/swapcontext.S @@ -1,4 +1,4 @@ -/* $NetBSD: swapcontext.S,v 1.2 2003/01/18 11:17:45 thorpej Exp $ */ +/* $NetBSD: swapcontext.S,v 1.3 2003/05/23 18:20:14 petrov Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -39,9 +39,11 @@ #include "SYS.h" #if defined(LIBC_SCCS) && !defined(lint) - RCSID("$NetBSD: swapcontext.S,v 1.2 2003/01/18 11:17:45 thorpej Exp $") + RCSID("$NetBSD: swapcontext.S,v 1.3 2003/05/23 18:20:14 petrov Exp $") #endif /* LIBC_SCCS && !lint */ + .register %g2,#scratch + ENTRY(swapcontext) mov %o0, %o2 /* must save pointer */ mov %o1, %o3 /* must save pointer */ |
