PATCH: adeos ppc r6c15 oops handling
Hello,
Adeos prevents (most) oopses from other domains from printing. The attached patch should fix the behaviour.
-- Heikki Lindholm
ppc/kernel/traps.c renamed from ppc/kernel/traps.c.orig +6 -0
@@ -78,6 +78,12 @@ {static int die_counter;int nl =0 ; + +#ifdef CONFIG_ADEOS_CORE +/* lets us see Oopses from other domains, too */ +if (adp_current != adp_root) +adeos_set_printk_sync (adp_current); +#endif /* CONFIG_ADEOS_CORE */ console_verbose ();spin_lock_irq (&die_lock);#ifdef CONFIG_PMAC_BACKLIGHT
Philippe Gerum
AppliedQuoted 3 lines · Heikki Lindholm
Hello,
Adeos prevents (most) oopses from other domains from printing. The attached patch should fix the behaviour.
Applied, thanks.
Quoted 21 lines
-- Heikki Lindholm
------------------------------------------------------------------------
ppc/kernel/traps.c renamed from ppc/kernel/traps.c.orig +6
-0@@ -78,6 +78,12 @@ {static int die_counter;int nl =0 ; + +#ifdef CONFIG_ADEOS_CORE +/* lets us see Oopses from other domains, too */ +if (adp_current != adp_root) +adeos_set_printk_sync (adp_current); +#endif /* CONFIG_ADEOS_CORE */ console_verbose ();spin_lock_irq (&die_lock);#ifdef CONFIG_PMAC_BACKLIGHT
Signature · 1 line
Philippe.