* [Adeos-main] PATCH: adeos ppc r6c15 oops handling
@ 2005-03-21 7:17 Heikki Lindholm
2005-03-21 7:24 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Heikki Lindholm @ 2005-03-21 7:17 UTC (permalink / raw)
To: adeos-main
[-- Attachment #1: Type: text/plain, Size: 137 bytes --]
Hello,
Adeos prevents (most) oopses from other domains from printing. The
attached patch should fix the behaviour.
-- Heikki Lindholm
[-- Attachment #2: adeos-ppc-oops.patch --]
[-- Type: text/plain, Size: 455 bytes --]
--- arch/ppc/kernel/traps.c.orig 2005-03-21 09:16:15.783031455 +0200
+++ arch/ppc/kernel/traps.c 2005-03-21 09:16:22.182984961 +0200
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Adeos-main] PATCH: adeos ppc r6c15 oops handling
2005-03-21 7:17 [Adeos-main] PATCH: adeos ppc r6c15 oops handling Heikki Lindholm
@ 2005-03-21 7:24 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2005-03-21 7:24 UTC (permalink / raw)
To: Heikki Lindholm; +Cc: adeos-main
Heikki Lindholm wrote:
> Hello,
>
> Adeos prevents (most) oopses from other domains from printing. The
> attached patch should fix the behaviour.
Applied, thanks.
>
> -- Heikki Lindholm
>
>
> ------------------------------------------------------------------------
>
> --- arch/ppc/kernel/traps.c.orig 2005-03-21 09:16:15.783031455 +0200
> +++ arch/ppc/kernel/traps.c 2005-03-21 09:16:22.182984961 +0200
> @@ -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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-21 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21 7:17 [Adeos-main] PATCH: adeos ppc r6c15 oops handling Heikki Lindholm
2005-03-21 7:24 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.