MFamd64 r322718:

Use ANSI C declaration for trap_pfault().  Style.

Reviewed by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
kib 2017-08-26 18:06:29 +00:00
parent 0a239887e3
commit f6d447048d

View File

@ -751,17 +751,18 @@ out:
}
static int
trap_pfault(frame, usermode, eva)
struct trapframe *frame;
int usermode;
vm_offset_t eva;
trap_pfault(struct trapframe *frame, int usermode, vm_offset_t eva)
{
struct thread *td;
struct proc *p;
vm_offset_t va;
vm_map_t map;
int rv = 0;
int rv;
vm_prot_t ftype;
struct thread *td = curthread;
struct proc *p = td->td_proc;
td = curthread;
p = td->td_proc;
rv = 0;
if (__predict_false((td->td_pflags & TDP_NOFAULTING) != 0)) {
/*