Skip to contentSkip to conversation

PPC64: Set ppc_md.log_error

PATCH New Paul Mackerras 1 participant 1 message Jul 2, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PPC64: Set ppc_md.log_error

We have a platform-specific function pointer on ppc64 for a function to log errors detected by the platform, but it was never getting set. This patch sets it on pSeries (the only ppc64 platform which has an error logging function).

arch/ppc64/kernel/chrp_setup.c +2 -0
diff -urN linux-2.5/arch/ppc64/kernel/chrp_setup.c ppc64-2.5/arch/ppc64/kernel/chrp_setup.c
@@ -243,6 +243,8 @@
 		ppc_md.get_irq        = xics_get_irq;
 	}
 
+	ppc_md.log_error      = pSeries_log_error;
+
 	ppc_md.init           = chrp_init2;
 
 	ppc_md.pcibios_fixup  = pSeries_final_fixup;