r3561 - trunk/kernel/source/linux-2.6-2.6.12/debian/patches-debian

Sven Luther luther at costa.debian.org
Sat Jul 16 13:28:46 UTC 2005


Author: luther
Date: 2005-07-16 13:28:45 +0000 (Sat, 16 Jul 2005)
New Revision: 3561

Modified:
   trunk/kernel/source/linux-2.6-2.6.12/debian/patches-debian/powerpc-g4-l2-flush-errata.patch
Log:
Furthr fix in this patch, L2CR needs to be prefixed by SPRN_.


Modified: trunk/kernel/source/linux-2.6-2.6.12/debian/patches-debian/powerpc-g4-l2-flush-errata.patch
===================================================================
--- trunk/kernel/source/linux-2.6-2.6.12/debian/patches-debian/powerpc-g4-l2-flush-errata.patch	2005-07-16 13:16:43 UTC (rev 3560)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/patches-debian/powerpc-g4-l2-flush-errata.patch	2005-07-16 13:28:45 UTC (rev 3561)
@@ -147,12 +147,12 @@
 +	/* Use HW flush assist, MPC7447A errata #3 */
 +	oris	r4,r4,0x0010	/* Set L2CR[IONLY/11] = 1 */
 +	oris	r4,r4,0x0001	/* Set L2CR[DONLY/15] = 1 */
-+	mtspr   L2CR,r4		/* Lock the L2	*/
++	mtspr   SPRN_L2CR,r4		/* Lock the L2	*/
 +	sync
 +	ori	r4,r4,0x0800	/* Set L2CR[L2HWF/20] = 1 */
-+	mtspr   L2CR,r4		/* Flush the L2 */
++	mtspr   SPRN_L2CR,r4		/* Flush the L2 */
 +1:	
-+	mfspr	r4,L2CR
++	mfspr	r4,SPRN_L2CR
 +	andi.	r4,r4,0x0800	/* L2HWF still set? */
 +	bne	1b
 +	sync	/* sync to clear the store queues before L3 flush (UM step 5)*/




More information about the Kernel-svn-changes mailing list