patch-1.3.25 linux/fs/proc/inode.c
Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sat Sep 9 10:00:27 1995
- Orig file:
v1.3.24/linux/fs/proc/inode.c
- Orig date:
Sun Sep 3 12:27:01 1995
diff -u --recursive --new-file v1.3.24/linux/fs/proc/inode.c linux/fs/proc/inode.c
@@ -17,8 +17,6 @@
#include <asm/system.h>
#include <asm/segment.h>
-extern unsigned long prof_len;
-
static void proc_put_inode(struct inode *inode)
{
if (inode->i_nlink)
@@ -212,13 +210,11 @@
inode->i_op = &proc_kcore_inode_operations;
inode->i_size = (MAP_NR(high_memory) << PAGE_SHIFT) + PAGE_SIZE;
break;
-#ifdef CONFIG_PROFILE
case PROC_PROFILE:
inode->i_mode = S_IFREG | S_IRUGO | S_IWUSR;
inode->i_op = &proc_profile_inode_operations;
inode->i_size = (1+prof_len) * sizeof(unsigned long);
break;
-#endif
default:
inode->i_mode = S_IFREG | S_IRUGO;
inode->i_op = &proc_array_inode_operations;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this