--- zzzz-none-000/linux-2.6.13.1/include/linux/proc_fs.h 2005-09-10 02:42:58.000000000 +0000 +++ ohio-7170-487/linux-2.6.13.1/include/linux/proc_fs.h 2007-08-17 12:10:39.000000000 +0000 @@ -68,6 +68,8 @@ int deleted; /* delete flag */ }; +#if defined(CONFIG_PROC_FS) + struct kcore_list { struct kcore_list *next; unsigned long addr; @@ -157,7 +159,7 @@ struct proc_dir_entry *parent); static inline struct proc_dir_entry *create_proc_read_entry(const char *name, - mode_t mode, struct proc_dir_entry *base, + mode_t mode, struct proc_dir_entry *base, read_proc_t *read_proc, void * data) { struct proc_dir_entry *res=create_proc_entry(name,mode,base); @@ -167,7 +169,7 @@ } return res; } - + static inline struct proc_dir_entry *create_proc_info_entry(const char *name, mode_t mode, struct proc_dir_entry *base, get_info_t *get_info) { @@ -175,7 +177,7 @@ if (res) res->get_info=get_info; return res; } - + static inline struct proc_dir_entry *proc_net_create(const char *name, mode_t mode, get_info_t *get_info) { @@ -220,7 +222,7 @@ struct proc_dir_entry *parent) {return NULL;} static inline struct proc_dir_entry *create_proc_read_entry(const char *name, - mode_t mode, struct proc_dir_entry *base, + mode_t mode, struct proc_dir_entry *base, read_proc_t *read_proc, void * data) { return NULL; } static inline struct proc_dir_entry *create_proc_info_entry(const char *name, mode_t mode, struct proc_dir_entry *base, get_info_t *get_info) @@ -263,4 +265,6 @@ return PROC_I(inode)->pde; } +#endif /*--- #if defined(CONFIG_PROC_FS) ---*/ + #endif /* _LINUX_PROC_FS_H */