diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-23 15:01:48 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-23 15:01:48 -0400 |
commit | e3fe51ae40a26284c00fba36b9caaac2670c58a4 (patch) | |
tree | 4150019a85f22022fbf46d8486cd13f9ea6ee661 /sys/fs/procfs_subr.c | |
parent | 2f632cea32c83a0a906a41cb41429148e197b14f (diff) |
kernel: procfs: Add support for /proc/interrupts
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/fs/procfs_subr.c')
-rw-r--r-- | sys/fs/procfs_subr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/fs/procfs_subr.c b/sys/fs/procfs_subr.c index be93dd0..c1d77ba 100644 --- a/sys/fs/procfs_subr.c +++ b/sys/fs/procfs_subr.c @@ -28,6 +28,7 @@ */ #include <sys/panic.h> +#include <sys/intr.h> #include <machine/cpu.h> #include <fs/procfs.h> #include <vm/vm.h> @@ -106,4 +107,6 @@ procfs_populate(void) memstat = procfs_alloc_entry(); memstat->read = procfs_memstat_read; procfs_add_entry("memstat", memstat); + + intr_init_proc(); } |