patch-2.1.23 linux/fs/proc/array.c
Next file: linux/fs/proc/base.c
Previous file: linux/fs/proc/Makefile
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Jan 26 12:07:45 1997
- Orig file:
v2.1.22/linux/fs/proc/array.c
- Orig date:
Sun Dec 22 16:37:38 1996
diff -u --recursive --new-file v2.1.22/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -46,6 +46,7 @@
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
+#include <linux/slab.h>
#include <linux/smp.h>
#include <asm/uaccess.h>
@@ -1057,6 +1058,9 @@
case PROC_STAT:
return get_kstat(page);
+ case PROC_SLABINFO:
+ return get_slabinfo(page);
+
case PROC_DEVICES:
return get_device_list(page);
@@ -1180,7 +1184,7 @@
array_read,
NULL, /* array_write */
NULL, /* array_readdir */
- NULL, /* array_select */
+ NULL, /* array_poll */
NULL, /* array_ioctl */
NULL, /* mmap */
NULL, /* no special open code */
@@ -1226,7 +1230,7 @@
arraylong_read,
NULL, /* array_write */
NULL, /* array_readdir */
- NULL, /* array_select */
+ NULL, /* array_poll */
NULL, /* array_ioctl */
NULL, /* mmap */
NULL, /* no special open code */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov