Re: xosview

From: Andrew Morton (akpm@zip.com.au)
Date: Wed Jun 05 2002 - 02:55:35 EST


kwijibo@zianet.com wrote:
>
> I believe it is xosview that needs to change and not
> the kernel. Mine worked with pre8 however, my move
> to pre10 broke it.
>

It's the gunk in /proc/stat which broke it. Some
accidentally-included debug stuff.

--- linux-2.4.19-pre9/fs/proc/proc_misc.c Tue May 28 17:23:37 2002
+++ linux-mnm/fs/proc/proc_misc.c Tue Jun 4 23:25:12 2002
@@ -322,7 +322,7 @@ static int kstat_read_proc(char *page, c
 #if !defined(CONFIG_ARCH_S390)
         for (i = 0 ; i < NR_IRQS ; i++)
                 proc_sprintf(page, &off, &len,
- " %u", kstat_irqs(i) + 1000000000);
+ " %u", kstat_irqs(i));
 #endif
 
         proc_sprintf(page, &off, &len, "\ndisk_io: ");

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:23 EST