lkml.org 
[lkml]   [2001]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
From
Date
SubjectPATCH - ksymoops on Alpha - 2.4.5-ac3
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(" ...");
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(" ...");
\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.129 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site