[PATCH] 2.5.22 : include/linux/intermezzo_psdev.h

From: Frank Davis (fdavis@si.rr.com)
Date: Tue Jun 18 2002 - 12:51:54 EST


Hello all,
   The following patch fixes a compile error regarding a name change
within task_struct, which affects ISLENTO() . Please review for inclusion.
Regards,
Frank

--- include/linux/intermezzo_psdev.h.old Tue Jun 18 13:47:15 2002
+++ include/linux/intermezzo_psdev.h Tue Jun 18 13:47:03 2002
@@ -47,7 +47,7 @@
 };
 
 #define ISLENTO(minor) (current->pid == upc_comms[minor].uc_pid \
- || current->p_pptr->pid == upc_comms[minor].uc_pid)
+ || current->parent->pid == upc_comms[minor].uc_pid)
 
 extern struct upc_comm upc_comms[MAX_PRESTODEV];
 

-
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 : Sun Jun 23 2002 - 22:00:16 EST