patch-2.4.22 linux-2.4.22/drivers/ieee1394/csr.h

Next file: linux-2.4.22/drivers/ieee1394/dma.c
Previous file: linux-2.4.22/drivers/ieee1394/csr.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/ieee1394/csr.h linux-2.4.22/drivers/ieee1394/csr.h
@@ -2,6 +2,10 @@
 #ifndef _IEEE1394_CSR_H
 #define _IEEE1394_CSR_H
 
+#ifdef CONFIG_PREEMPT
+#include <linux/sched.h>
+#endif
+
 #define CSR_REGISTER_BASE  0xfffff0000000ULL
 
 /* register offsets relative to CSR_REGISTER_BASE */
@@ -37,6 +41,7 @@
         quadlet_t state;
         quadlet_t node_ids;
         quadlet_t split_timeout_hi, split_timeout_lo;
+	unsigned long expire;	// Calculated from split_timeout
         quadlet_t cycle_time;
         quadlet_t bus_time;
         quadlet_t bus_manager_id;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)