Source-Changes-HG archive

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

[src/trunk]: src/sys/arch PROC_PC() should have been changed to LWP_PC().



details:   https://anonhg.NetBSD.org/src/rev/2275e08d50b0
branches:  trunk
changeset: 759963:2275e08d50b0
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Wed Dec 22 03:22:43 2010 +0000

description:
PROC_PC() should have been changed to LWP_PC().

diffstat:

 sys/arch/mips/include/cpu.h |  6 +++---
 sys/arch/sh3/include/cpu.h  |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r d75ff9c4ebf8 -r 2275e08d50b0 sys/arch/mips/include/cpu.h
--- a/sys/arch/mips/include/cpu.h       Wed Dec 22 02:58:35 2010 +0000
+++ b/sys/arch/mips/include/cpu.h       Wed Dec 22 03:22:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.95 2010/01/23 15:55:54 mrg Exp $     */
+/*     $NetBSD: cpu.h,v 1.96 2010/12/22 03:22:44 nisimura Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -358,8 +358,8 @@
  * This is used during profiling to integrate system time.  It can safely
  * assume that the process is resident.
  */
-#define        PROC_PC(p)                                                      \
-       (((struct frame *)(p)->p_md.md_regs)->f_regs[37])       /* XXX PC */
+#define        LWP_PC(l)                                                       \
+       (((struct frame *)(l)->l_md.md_regs)->f_regs[37])       /* XXX PC */
 
 /*
  * Preempt the current process if in interrupt from user mode,
diff -r d75ff9c4ebf8 -r 2275e08d50b0 sys/arch/sh3/include/cpu.h
--- a/sys/arch/sh3/include/cpu.h        Wed Dec 22 02:58:35 2010 +0000
+++ b/sys/arch/sh3/include/cpu.h        Wed Dec 22 03:22:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.54 2009/10/21 21:12:02 rmind Exp $   */
+/*     $NetBSD: cpu.h,v 1.55 2010/12/22 03:22:43 nisimura Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@@ -92,8 +92,8 @@
  * This is used during profiling to integrate system time.  It can safely
  * assume that the process is resident.
  */
-#define        PROC_PC(p)                                                      \
-       (((struct trapframe *)(p)->p_md.md_regs)->tf_spc)
+#define        LWP_PC(l)                                                       \
+       (((struct trapframe *)(l)->l_md.md_regs)->tf_spc)
 
 /*
  * Preempt the current process if in interrupt from user mode,



Home | Main Index | Thread Index | Old Index