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

Frank Davis (fdavis@si.rr.com)
Tue, 18 Jun 2002 13:51:54 -0400 (EDT)


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/