PERFORCE change 172803 for review
Bjoern A. Zeeb
bz at FreeBSD.org
Fri Jan 8 21:44:47 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=172803
Change 172803 by bz at bz_dumpster on 2010/01/08 21:44:34
Reflect SVN r199868:
Simplify the invocation of vm_fault(). Specifically, eliminate the flag
VM_FAULT_DIRTY. The information provided by this flag can be trivially
inferred by vm_fault().
Affected files ...
.. //depot/projects/s390/sys/s390/s390/trap.c#13 edit
.. //depot/projects/s390/sys/s390/s390/trap.h#3 edit
Differences ...
==== //depot/projects/s390/sys/s390/s390/trap.c#13 (text+ko) ====
@@ -258,7 +258,6 @@
vm_prot_t fault_type;
struct thread *td;
struct pcb *pcb;
- int fault_flags;
vm_offset_t va;
struct proc *p;
int tei, rv;
@@ -273,12 +272,10 @@
if (!usermode)
printf("Protection exception in kernel");
fault_type = VM_PROT_WRITE;
- fault_flags = VM_FAULT_DIRTY;
tf->tf_psw.addr -= sysarea.program_ilc & 0x7;
} else {
/* How to figure out actual type of access? */
fault_type = VM_PROT_READ;
- fault_flags = VM_FAULT_NORMAL;
}
/* if (sysarea.trans_exc_ident & 0x2) { */
@@ -294,7 +291,7 @@
p->p_lock++;
PROC_UNLOCK(p);
- rv = vm_fault(&p->p_vmspace->vm_map, va, fault_type, fault_flags);
+ rv = vm_fault(&p->p_vmspace->vm_map, va, fault_type, VM_FAULT_NORMAL);
PROC_LOCK(p);
p->p_lock--;
==== //depot/projects/s390/sys/s390/s390/trap.h#3 (text+ko) ====
More information about the p4-projects
mailing list