Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2007 11:47:33 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 125050 for review
Message-ID:  <200708111147.l7BBlXTL017200@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125050

Change 125050 by raj@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");
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708111147.l7BBlXTL017200>