patch-1.3.46 linux/fs/proc/array.c
Next file: linux/fs/proc/inode.c
Previous file: linux/fs/open.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Mon Dec 11 09:55:42 1995
- Orig file:
v1.3.45/linux/fs/proc/array.c
- Orig date:
Tue Nov 21 13:22:12 1995
diff -u --recursive --new-file v1.3.45/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -41,6 +41,9 @@
#include <linux/ioport.h>
#include <linux/config.h>
#include <linux/mm.h>
+#ifdef CONFIG_APM
+#include <linux/apm_bios.h>
+#endif
#include <asm/segment.h>
#include <asm/pgtable.h>
@@ -457,7 +460,7 @@
if (tsk->state < 0 || tsk->state > 5)
state = '.';
else
- state = "RSDZTD"[tsk->state];
+ state = "RSDZTW"[tsk->state];
vsize = eip = esp = 0;
if (tsk->mm) {
struct vm_area_struct *vma = tsk->mm->mmap;
@@ -820,6 +823,10 @@
case PROC_IOPORTS:
return get_ioport_list(page);
+#ifdef CONFIG_APM
+ case PROC_APM:
+ return apm_proc(page);
+#endif
}
return -EBADF;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this