Module Name: src
Committed By: nisimura
Date: Wed Dec 22 03:22:44 UTC 2010
Modified Files:
src/sys/arch/mips/include: cpu.h
src/sys/arch/sh3/include: cpu.h
Log Message:
PROC_PC() should have been changed to LWP_PC().
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/mips/include/cpu.h
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/sh3/include/cpu.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/mips/include/cpu.h
diff -u src/sys/arch/mips/include/cpu.h:1.95 src/sys/arch/mips/include/cpu.h:1.96
--- src/sys/arch/mips/include/cpu.h:1.95 Sat Jan 23 15:55:54 2010
+++ src/sys/arch/mips/include/cpu.h Wed Dec 22 03:22:44 2010
@@ -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,
Index: src/sys/arch/sh3/include/cpu.h
diff -u src/sys/arch/sh3/include/cpu.h:1.54 src/sys/arch/sh3/include/cpu.h:1.55
--- src/sys/arch/sh3/include/cpu.h:1.54 Wed Oct 21 21:12:02 2009
+++ src/sys/arch/sh3/include/cpu.h Wed Dec 22 03:22:43 2010
@@ -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,