All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heikki Lindholm <holindho@domain.hid>
To: adeos-main@gna.org
Subject: [Adeos-main] PATCH: adeos ppc r6c15 oops handling
Date: Mon, 21 Mar 2005 09:17:43 +0200	[thread overview]
Message-ID: <423E7517.3040304@domain.hid> (raw)

[-- 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

             reply	other threads:[~2005-03-21  7:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21  7:17 Heikki Lindholm [this message]
2005-03-21  7:24 ` [Adeos-main] PATCH: adeos ppc r6c15 oops handling Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=423E7517.3040304@domain.hid \
    --to=holindho@domain.hid \
    --cc=adeos-main@gna.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.