]> git.hungrycats.org Git - linux/commitdiff
[PATCH] 2.5.22 : include/linux/intermezzo_psdev.h
authorFrank Davis <fdavis@si.rr.com>
Tue, 18 Jun 2002 04:24:10 +0000 (21:24 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 18 Jun 2002 04:24:10 +0000 (21:24 -0700)
   The following patch fixes a compile error regarding a name change
within task_struct, which affects ISLENTO().

include/linux/intermezzo_psdev.h

index 9b1e557bdd7a09ad3763cd4f8f8e7d922563eea8..ed3d4acbcc06dde887ce935b0ca3452d6b032f40 100644 (file)
@@ -47,7 +47,7 @@ struct upc_comm {
 };
 
 #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];