headsup -- pre7-2 timer breakage (was Re: 2.3.99-pre7-2 -- Error compiling drivers/video/fbcon.c)

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Wed May 03 2000 - 01:06:26 EST


pre7-pre2 will have tons of breakage like this. Known and obvious, just
needs some known and obvious cleanups... let me know if the patch
below doesn't fix things for you.

Here are a bunch of fixups for pre7-pre2:
http://gtf.org/garzik/kernel/files/old/2.3.99/
(sorry for the clutter, just look for files
"timer*-2.3.99.7.2.patch.gz")

        Jeff

Miles Lane wrote:
> gcc -D__KERNEL__ -I/usr/src/linux-2.3.99-pre3/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c fbcon.c
> fbcon.c:232: warning: missing braces around initializer
> fbcon.c:232: warning: (near initialization for `cursor_timer.list')
> fbcon.c: In function `cursor_timer_handler':
> fbcon.c:240: structure has no member named `next'
> fbcon.c:240: structure has no member named `prev'
> fbcon.c: In function `fbcon_startup':
> fbcon.c:415: structure has no member named `next'
> fbcon.c:415: structure has no member named `prev'
> make[3]: *** [fbcon.o] Error 1

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

Index: drivers/video/fbcon.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/video/fbcon.c,v retrieving revision 1.1.1.11 diff -u -r1.1.1.11 fbcon.c --- drivers/video/fbcon.c 2000/03/18 16:35:47 1.1.1.11 +++ drivers/video/fbcon.c 2000/05/03 06:04:04 @@ -229,15 +229,13 @@ static void cursor_timer_handler(unsigned long dev_addr); static struct timer_list cursor_timer = { - NULL, NULL, 0, 0L, cursor_timer_handler + function: cursor_timer_handler }; static void cursor_timer_handler(unsigned long dev_addr) { fbcon_vbl_handler(0, NULL, NULL); cursor_timer.expires = jiffies+HZ/50; - cursor_timer.data = 0; - cursor_timer.next = cursor_timer.prev = NULL; add_timer(&cursor_timer); } @@ -411,8 +409,6 @@ if (irqres) { cursor_blink_rate = DEFAULT_CURSOR_BLINK_RATE; cursor_timer.expires = jiffies+HZ/50; - cursor_timer.data = 0; - cursor_timer.next = cursor_timer.prev = NULL; add_timer(&cursor_timer); }

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:11 EST