From 2a60b2219c4ddfca8b1cb0e503cd816dc43bf9c8 Mon Sep 17 00:00:00 2001 From: Sven Luther Date: Sat, 16 Jul 2005 13:28:45 +0000 Subject: [PATCH] Furthr fix in this patch, L2CR needs to be prefixed by SPRN_. svn path=/trunk/kernel/source/linux-2.6-2.6.12/; revision=3561 --- debian/patches-debian/powerpc-g4-l2-flush-errata.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/patches-debian/powerpc-g4-l2-flush-errata.patch b/debian/patches-debian/powerpc-g4-l2-flush-errata.patch index 593ab8889..48412ddd2 100644 --- a/debian/patches-debian/powerpc-g4-l2-flush-errata.patch +++ b/debian/patches-debian/powerpc-g4-l2-flush-errata.patch @@ -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)*/