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:
he 2005-09-14 10:51:22 +00:00
parent 7720dda14a
commit 80a9d6b5a5
1 changed files with 2 additions and 9 deletions

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.9 2004/08/21 11:49:33 rearnsha Exp
#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