diff -urNp tux-ref/fs/proc/proc_misc.c tux/fs/proc/proc_misc.c --- tux-ref/fs/proc/proc_misc.c Wed Jun 26 02:10:53 2002 +++ tux/fs/proc/proc_misc.c Wed Jun 26 02:15:08 2002 @@ -289,6 +289,7 @@ static struct file_operations proc_slabi release: seq_release, }; +#ifdef CONFIG_TUX /* * print out TUX internal statistics into /proc/stat. * (Most of them are not maintained if CONFIG_TUX_DEBUG is off.) @@ -348,6 +349,7 @@ static int print_tux_procinfo (char *pag return len; } +#endif /* CONFIG_TUX */ static int kstat_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) @@ -427,7 +429,9 @@ static int kstat_read_proc(char *page, c xtime.tv_sec - jif / HZ, total_forks); +#ifdef CONFIG_TUX len += print_tux_procinfo(page+len); +#endif return proc_calc_metrics(page, start, off, count, eof, len); }