PATCH: lock for scc drivers

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 07 2003 - 19:35:44 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/include/linux/scc.h linux-2.5.67-ac1/include/linux/scc.h
--- linux-2.5.67/include/linux/scc.h 2003-02-10 18:38:45.000000000 +0000
+++ linux-2.5.67-ac1/include/linux/scc.h 2003-04-07 20:05:18.000000000 +0100
@@ -244,6 +244,9 @@
         /* Timer */
         struct timer_list tx_t; /* tx timer for this channel */
         struct timer_list tx_wdog; /* tx watchdogs */
+
+ /* Channel lock */
+ spinlock_t lock; /* Channel guard lock */
 };
 
 #endif /* defined(__KERNEL__) */
-
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 : Mon Apr 07 2003 - 22:00:33 EST