mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] remove kernel 2.2 #ifdef's from {i,}stallion.h
@ 2004-02-07 20:38 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-02-07 20:38 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

The patch below removeskernel 2.2 #ifdef's from {i,}stallion.h .

Please apply
Adrian

--- linux-2.6.2-mm1/include/linux/istallion.h.old	2004-02-07 21:35:58.000000000 +0100
+++ linux-2.6.2-mm1/include/linux/istallion.h	2004-02-07 21:36:12.000000000 +0100
@@ -70,15 +70,9 @@
 	void			*argp;
 	unsigned int		rxmarkmsk;
 	struct tty_struct	*tty;
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0))
-	struct wait_queue	*open_wait;
-	struct wait_queue	*close_wait;
-	struct wait_queue	*raw_wait;
-#else
 	wait_queue_head_t	open_wait;
 	wait_queue_head_t	close_wait;
 	wait_queue_head_t	raw_wait;
-#endif
 	struct work_struct	tqhangup;
 	asysigs_t		asig;
 	unsigned long		addr;
--- linux-2.6.2-mm1/include/linux/stallion.h.old	2004-02-07 21:36:33.000000000 +0100
+++ linux-2.6.2-mm1/include/linux/stallion.h	2004-02-07 21:36:46.000000000 +0100
@@ -95,13 +95,8 @@
 	unsigned long		hwid;
 	void			*uartp;
 	struct tty_struct	*tty;
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0))
-	struct wait_queue	*open_wait;
-	struct wait_queue	*close_wait;
-#else
 	wait_queue_head_t	open_wait;
 	wait_queue_head_t	close_wait;
-#endif
 	struct work_struct	tqueue;
 	comstats_t		stats;
 	stlrq_t			tx;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-07 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-07 20:38 [2.6 patch] remove kernel 2.2 #ifdef's from {i,}stallion.h Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®