PERFORCE change 180576 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Jul 6 23:45:50 UTC 2010


http://p4web.freebsd.org/@@180576?ac=10

Change 180576 by gonzo at gonzo_figaro on 2010/07/06 23:45:48

	- Remove redundant declaration of syscallnames
	- Simplify vm_fault call as alc@ did in r199868

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/avr32/trap.c#14 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/avr32/trap.c#14 (text+ko) ====

@@ -85,7 +85,6 @@
 
 static char *trap_name(uint32_t type);
 static int trap_breakpoint(uint32_t type, struct trapframe *frame);
-extern char *syscallnames[];
 
 /*
  * Trap names, copied from AVR32 Architecture Manual, capture 7.3 table 7-1
@@ -316,9 +315,7 @@
 		PROC_LOCK(p);
 		++p->p_lock;
 		PROC_UNLOCK(p);
-		rv = vm_fault(map, va, ftype,
-			(ftype & VM_PROT_WRITE) ? VM_FAULT_DIRTY
-						: VM_FAULT_NORMAL);
+		rv = vm_fault(map, va, ftype, VM_FAULT_NORMAL);
 
 		PROC_LOCK(p);
 		--p->p_lock;


More information about the p4-projects mailing list