Re: [PATCH] 2.4: variable HZ (broken?)

From: Roy Sigurd Karlsbakk (roy@karlsbakk.net)
Date: Wed Oct 16 2002 - 07:14:55 EST


On Tuesday 15 October 2002 08:50, Robert Love wrote:
> On Tue, 2002-10-15 at 02:03, Robert Love wrote:
> > It works fine, and I have successfully used HZ=1000 on my machines.
>
> Except processor usage output was screwy.
>

and except that it somehow breaks compiling serial.c?

gcc -D__KERNEL__ -I/usr/src/prontux-0.1.9/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=serial -c -o serial.o serial.c
serial.c:231:27: serial_compat.h: No such file or directory
serial.c: In function `receive_chars':
serial.c:677: warning: implicit declaration of function `queue_task_irq_off'
serial.c: At top level:
serial.c:1591: warning: static declaration for `tty_get_baud_rate' follows
non-static
serial.c: In function `rs_write':
serial.c:1879: warning: implicit declaration of function `copy_from_user'
serial.c: In function `get_serial_info':
serial.c:2077: warning: implicit declaration of function `copy_to_user'
serial.c: In function `send_break':
serial.c:2391: structure has no member named `timeout'
serial.c:3843:32: linux/symtab_begin.h: No such file or directory
serial.c:3846:30: linux/symtab_end.h: No such file or directory
serial.c: At top level:
serial.c:3842: variable `serial_syms' has initializer but incomplete type
serial.c:3844: warning: implicit declaration of function `X'
serial.c:3844: warning: excess elements in struct initializer
serial.c:3844: warning: (near initialization for `serial_syms')
serial.c:3845: warning: excess elements in struct initializer
serial.c:3845: warning: (near initialization for `serial_syms')
serial.c:3331: warning: `rs_read_proc' defined but not used
serial.c:3842: warning: `serial_syms' defined but not used
make[3]: *** [serial.o] Error 1
make[3]: Leaving directory `/usr/src/prontux-0.1.9/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/prontux-0.1.9/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/prontux-0.1.9/drivers'
make: *** [_dir_drivers] Error 2

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners. They stop working when you open Windows.

- 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 : Wed Oct 23 2002 - 22:00:27 EST