All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] don't #include tqueue.h in drivers/net/wan/cycx_main.c
@ 2002-10-20 14:37 Adrian Bunk
  2002-10-20 16:28 ` Martin Waitz
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2002-10-20 14:37 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: linux-kernel, trivial


There's the following compile error in 2.5.44:

<--  snip  -->

...
  gcc -Wp,-MD,drivers/net/wan/.cycx_main.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=k6
-Iarch/i386/mach-generic -nostdinc -iwithprefix include    -DKBUILD_BASENAME=cycx_main   -c -o
drivers/net/wan/cycx_main.o drivers/net/wan/cycx_main.c
drivers/net/wan/cycx_main.c:47: linux/tqueue.h: No such file or directory
make[3]: *** [drivers/net/wan/cycx_main.o] Error 1

<--  snip  -->


With the following trivial patch it compiles without errors or warnings:


--- linux-2.5.44-full/drivers/net/wan/cycx_main.c.old	2002-10-20 16:20:02.000000000 +0200
+++ linux-2.5.44-full/drivers/net/wan/cycx_main.c	2002-10-20 16:20:25.000000000 +0200
@@ -44,7 +44,6 @@
 #include <linux/kernel.h>	/* printk(), and other useful stuff */
 #include <linux/module.h>	/* support for loadable modules */
 #include <linux/ioport.h>	/* request_region(), release_region() */
-#include <linux/tqueue.h>	/* for kernel task queues */
 #include <linux/wanrouter.h>	/* WAN router definitions */
 #include <linux/cyclomx.h>	/* cyclomx common user API definitions */
 #include <asm/uaccess.h>	/* kernel <-> user copy */


cu
Adrian

-- 

               "Is there not promise of rain?" Ling Tan asked suddenly out
                of the darkness. There had been need of rain for many days.
               "Only a promise," Lao Er said.
                                               Pearl S. Buck - Dragon Seed




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-20 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-20 14:37 [2.5 patch] don't #include tqueue.h in drivers/net/wan/cycx_main.c Adrian Bunk
2002-10-20 16:28 ` Martin Waitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.