patch-2.4.23 linux-2.4.23/include/linux/proc_fs.h

Next file: linux-2.4.23/include/linux/ptrace.h
Previous file: linux-2.4.23/include/linux/pkt_sched.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/linux/proc_fs.h linux-2.4.23/include/linux/proc_fs.h
@@ -209,4 +209,9 @@
 
 #endif /* CONFIG_PROC_FS */
 
+static inline struct proc_dir_entry *PDE(const struct inode *inode)
+{
+	return (struct proc_dir_entry *)inode->u.generic_ip;
+}
+
 #endif /* _LINUX_PROC_FS_H */

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