patch-2.3.1 linux/include/linux/hfs_sysdep.h

Next file: linux/include/linux/ide.h
Previous file: linux/include/linux/hfs_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/include/linux/hfs_sysdep.h linux/include/linux/hfs_sysdep.h
@@ -93,10 +93,10 @@
 /*
  * hfs_wait_queue 
  */
-typedef struct wait_queue *hfs_wait_queue;
+typedef wait_queue_head_t hfs_wait_queue;
 
 extern inline void hfs_init_waitqueue(hfs_wait_queue *queue) {
-        init_waitqueue(queue);
+        init_waitqueue_head(queue);
 }
 
 extern inline void hfs_sleep_on(hfs_wait_queue *queue) {

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