Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Now that process_frame() is a macro (done "...



details:   https://anonhg.NetBSD.org/src/rev/2c1298b633f5
branches:  trunk
changeset: 584358:2c1298b633f5
user:      he <he%NetBSD.org@localhost>
date:      Wed Sep 14 10:51:22 2005 +0000

description:
Now that process_frame() is a macro (done "unannounced" in arm's
include/frame.h), don't try to define an inline function with the
same name and same contents.

diffstat:

 sys/arch/arm/arm/arm_machdep.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 154b9fa35417 -r 2c1298b633f5 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c    Wed Sep 14 10:40:49 2005 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c    Wed Sep 14 10:51:22 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_machdep.c,v 1.9 2004/08/21 11:49:33 rearnsha Exp $ */
+/*     $NetBSD: arm_machdep.c,v 1.10 2005/09/14 10:51:22 he Exp $      */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.9 2004/08/21 11:49:33 rearnsha Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.10 2005/09/14 10:51:22 he Exp $");
 
 #include <sys/exec.h>
 #include <sys/proc.h>
@@ -91,13 +91,6 @@
 #include <machine/pcb.h>
 #include <machine/vmparam.h>
 
-static __inline struct trapframe *
-process_frame(struct lwp *l)
-{
-
-       return (l->l_addr->u_pcb.pcb_tf);
-}
-
 /*
  * The ARM architecture places the vector page at address 0.
  * Later ARM architecture versions, however, allow it to be



Home | Main Index | Thread Index | Old Index