2002-06-18 18:00:46

by Frank Davis

[permalink] [raw]
Subject: [PATCH] 2.5.22 : include/linux/intermezzo_psdev.h

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];