[PATCH] PPC64: Set ppc_md.log_error

From: Paul Mackerras
Date: Fri Jul 02 2004 - 06:18:34 EST


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).

Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

diff -urN linux-2.5/arch/ppc64/kernel/chrp_setup.c ppc64-2.5/arch/ppc64/kernel/chrp_setup.c
--- linux-2.5/arch/ppc64/kernel/chrp_setup.c 2004-06-30 22:03:45.000000000 +1000
+++ ppc64-2.5/arch/ppc64/kernel/chrp_setup.c 2004-07-02 20:15:38.143035112 +1000
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/