- Timestamp:
- Jun 11, 2011, 7:07:47 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_kern.c
r321 r348 1099 1099 { 1100 1100 struct proc_dir_entry proc_root_dir; 1101 struct inode_operations * proc_root_inode_op = NULL;1101 int proc_root_inode_op_flag = 0; 1102 1102 1103 1103 /* 2.6.21 (((2) << 16) + ((6) << 8) + (21)) */ … … 1120 1120 if (((unsigned long) * &proc_root_dir.proc_iops) == proc_root_iops) 1121 1121 { 1122 proc_root_inode_op = (struct inode_operations *) &(proc_root_dir.proc_iops);1122 proc_root_inode_op_flag = 1; 1123 1123 } 1124 1124 else if (proc_root_dir.size == proc_root_iops) 1125 1125 { 1126 proc_root_inode_op = (struct inode_operations *) &(proc_root_dir.size);1126 proc_root_inode_op_flag = 1; 1127 1127 } 1128 1128 else if ((unsigned long) * &proc_root_dir.proc_fops == proc_root_iops) 1129 1129 { 1130 proc_root_inode_op = (struct inode_operations *) &(proc_root_dir.proc_fops);1131 } 1132 1133 if ( !proc_root_inode_op)1130 proc_root_inode_op_flag = 1; 1131 } 1132 1133 if (0 == proc_root_inode_op_flag) 1134 1134 { 1135 1135 sh_error_handle ((-1), FIL__, __LINE__, 0, MSG_KERN_PROC,
Note:
See TracChangeset
for help on using the changeset viewer.