PERFORCE change 125050 for review

Rafal Jaworowski raj at FreeBSD.org
Sat Aug 11 04:47:34 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=125050

Change 125050 by raj at raj_booke_intgr on 2007/08/11 11:45:41

	Fix GENERIC powerpc kernel build (AIM)

Affected files ...

.. //depot/projects/e500/sys/powerpc/aim/trap.c#3 edit
.. //depot/projects/e500/sys/powerpc/aim/vm_machdep.c#3 edit

Differences ...

==== //depot/projects/e500/sys/powerpc/aim/trap.c#3 (text+ko) ====

@@ -149,7 +149,7 @@
 	u_int		ucode;
 	ksiginfo_t	ksi;
 
-	PCPU_LAZY_INC(cnt.v_trap);
+	PCPU_INC(cnt.v_trap);
 
 	td = PCPU_GET(curthread);
 	p = td->td_proc;
@@ -349,7 +349,7 @@
 	td = PCPU_GET(curthread);
 	p = td->td_proc;
 
-	PCPU_LAZY_INC(cnt.v_syscall);
+	PCPU_INC(cnt.v_syscall);
 
 #ifdef KSE
 	if (p->p_flag & P_SA)

==== //depot/projects/e500/sys/powerpc/aim/vm_machdep.c#3 (text+ko) ====

@@ -197,7 +197,7 @@
 cpu_throw(struct thread *old, struct thread *new)
 {
 
-	cpu_switch(old, new);
+	cpu_switch(old, new, NULL);
 	panic("cpu_throw() didn't");
 }
 


More information about the p4-projects mailing list