Skip to contentSkip to conversation

8xx typo fix

PATCH New Pantelis Antoniou 1 participant 1 message Mar 24, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 8xx typo fix

Hi all

The following patch fixes a typo which was introduced in the great SPRN_ renaming.

The patch is against the latest linus bk tree (2.6.12-rc1).

Please apply.

Regards

Pantelis

P.S. I want 4 hours of my life back.

arch/ppc/kernel/head_8xx.S +1 -1
@@ -307,7 +307,7 @@
 	stw	r11, 4(r0)
 	mfspr	r10, SPRN_SRR0	/* Get effective address of fault */
 	DO_8xx_CPU6(0x3780, r3)
-	mtspr	SPRN_MD_EPN, r1	/* Have to use MD_EPN for walk, MI_EPN can't */
+	mtspr	SPRN_MD_EPN, r10	/* Have to use MD_EPN for walk, MI_EPN can't */
 	mfspr	r10, SPRN_M_TWB	/* Get level 1 table entry address */
 
 	/* If we are faulting a kernel address, we have to use the