mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PPC64: Set ppc_md.log_error
@ 2004-07-02 11:15 Paul Mackerras
  0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2004-07-02 11:15 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, linuxppc64-dev

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@samba.org>

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-02 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-02 11:15 [PATCH] PPC64: Set ppc_md.log_error Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®