public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH - ksymoops on Alpha - 2.4.5-ac3
@ 2001-05-28 21:05 George France
  2001-05-28 23:40 ` Keith Owens
  0 siblings, 1 reply; 4+ messages in thread
From: George France @ 2001-05-28 21:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox, Jay Thorne

[-- 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(" ...");

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-29  6:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-28 21:05 PATCH - ksymoops on Alpha - 2.4.5-ac3 George France
2001-05-28 23:40 ` Keith Owens
2001-05-29  5:00   ` George France
2001-05-29  6:26     ` Keith Owens

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