Skip to contentSkip to conversation

PATCH 2.6.10 pci_psycho brainfart

PATCH Grant Grundler 1 participant 1 message Jan 10, 2005

lore
Share & tools
lore
#0 lore raw

Dave,
I've had more than my fair share of brainfarts...
Patch is against 2.6.10.

hth,
grant

Index: arch/sparc64/kernel/pci_psycho.c
=================================RCS file: /var/cvs/linux-2.6/arch/sparc64/kernel/pci_psycho.c,v retrieving revision 1.6

sparc64/kernel/pci_psycho.c +3 -3
diff -u -p -r1.6 pci_psycho.c
@@ -453,9 +453,9 @@ static void __psycho_check_one_stc(struc
 		tag_base = regbase + PSYCHO_STC_TAG_A;
 		line_base = regbase + PSYCHO_STC_LINE_A;
 	} else {
-		err_base = regbase + PSYCHO_STC_ERR_A;
-		tag_base = regbase + PSYCHO_STC_TAG_A;
-		line_base = regbase + PSYCHO_STC_LINE_A;
+		err_base = regbase + PSYCHO_STC_ERR_B;
+		tag_base = regbase + PSYCHO_STC_TAG_B;
+		line_base = regbase + PSYCHO_STC_LINE_B;
 	}
 
 	spin_lock(&stc_buf_lock);