public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: George France <france@handhelds.org>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Jay Thorne <Yohimbe@userfriendly.org>
Subject: PATCH - ksymoops on Alpha - 2.4.5-ac3
Date: Mon, 28 May 2001 17:05:45 -0400	[thread overview]
Message-ID: <01052817054503.17841@shadowfax.middleearth> (raw)

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Here is a trivial patch that will make ksymoops work again on Alpha.

--George

diff -urN linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c 
linux/arch/alpha/kernel/traps.c
--- linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c	Thu May 24 17:24:37 2001
+++ linux/arch/alpha/kernel/traps.c	Mon May 28 16:38:25 2001
@@ -286,11 +286,7 @@
 			continue;
 		if (tmp >= (unsigned long) &_etext)
 			continue;
-		/*
-		 * Assume that only the low 24-bits of a kernel text address
-		 * is interesting.
-		 */
-		printk("%6x%c", (int)tmp & 0xffffff, (++i % 11) ? ' ' : '\n');
+		printk("%16lx%c", tmp);
 #if 0
 		if (i > 40) {
 			printk(" ...");


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch-ksymoops-alpha --]
[-- Type: text/english; name="patch-ksymoops-alpha", Size: 550 bytes --]

diff -urN linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
--- linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c	Thu May 24 17:24:37 2001
+++ linux/arch/alpha/kernel/traps.c	Mon May 28 16:38:25 2001
@@ -286,11 +286,7 @@
 			continue;
 		if (tmp >= (unsigned long) &_etext)
 			continue;
-		/*
-		 * Assume that only the low 24-bits of a kernel text address
-		 * is interesting.
-		 */
-		printk("%6x%c", (int)tmp & 0xffffff, (++i % 11) ? ' ' : '\n');
+		printk("%16lx%c", tmp);
 #if 0
 		if (i > 40) {
 			printk(" ...");

             reply	other threads:[~2001-05-28 21:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-28 21:05 George France [this message]
2001-05-28 23:40 ` PATCH - ksymoops on Alpha - 2.4.5-ac3 Keith Owens
2001-05-29  5:00   ` George France
2001-05-29  6:26     ` Keith Owens

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=01052817054503.17841@shadowfax.middleearth \
    --to=france@handhelds.org \
    --cc=Yohimbe@userfriendly.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox