Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libpthread/arch/m68k _REG_SP -> _REG_A7 to match de...



details:   https://anonhg.NetBSD.org/src/rev/f606ae96f024
branches:  nathanw_sa
changeset: 506068:f606ae96f024
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Sun Jul 28 05:15:14 2002 +0000

description:
_REG_SP -> _REG_A7 to match definition in mcontext.h.

diffstat:

 lib/libpthread/arch/m68k/pthread_md.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0faff5feb388 -r f606ae96f024 lib/libpthread/arch/m68k/pthread_md.h
--- a/lib/libpthread/arch/m68k/pthread_md.h     Sun Jul 28 05:12:24 2002 +0000
+++ b/lib/libpthread/arch/m68k/pthread_md.h     Sun Jul 28 05:15:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_md.h,v 1.1.2.2 2001/11/19 20:24:18 scw Exp $   */
+/*     $NetBSD: pthread_md.h,v 1.1.2.3 2002/07/28 05:15:14 gmcgarry Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
        return ret;
 }
 
-#define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
+#define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_A7])
 #define pthread__uc_pc(ucp) ((ucp)->uc_mcontext.__gregs[_REG_PC])
 
 /*



Home | Main Index | Thread Index | Old Index