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.
This commit is contained in:
martin 2005-09-14 18:26:31 +00:00
parent 95a8b0810d
commit adcdbe2c3d
1 changed files with 2 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: process_machdep.c,v 1.15 2005/06/02 20:27:30 uwe Exp $ */
/* $NetBSD: process_machdep.c,v 1.16 2005/09/14 18:26:31 martin Exp $ */
/*
* Copyright (c) 1993 The Regents of the University of California.
@ -133,7 +133,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.15 2005/06/02 20:27:30 uwe Exp $");
__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.16 2005/09/14 18:26:31 martin Exp $");
#include <sys/proc.h>
#include <sys/ptrace.h>
@ -150,13 +150,6 @@ __KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.15 2005/06/02 20:27:30 uwe Exp
#include <arm/fpe-arm/armfpe.h>
#endif
static __inline struct trapframe *
process_frame(struct lwp *l)
{
return l->l_addr->u_pcb.pcb_tf;
}
int
process_read_regs(struct lwp *l, struct reg *regs)
{