Messages in this thread Patch in this message | | | Date | Wed, 21 Apr 2004 13:09:18 -0500 | From | Matt Mackall <> | Subject | [PATCH] dynamic proc fallout |
| |
Delete obsolete comment and kill test of obsolete define.
Index: tiny/include/linux/proc_fs.h =================================================================== --- tiny.orig/include/linux/proc_fs.h 2004-04-21 12:49:22.000000000 -0500 +++ tiny/include/linux/proc_fs.h 2004-04-21 13:06:06.000000000 -0500 @@ -24,8 +24,6 @@ PROC_ROOT_INO = 1, }; -/* Finally, the dynamically allocatable proc entries are reserved: */ - #define PROC_SUPER_MAGIC 0x9fa0 /* Index: tiny/arch/alpha/kernel/irq.c =================================================================== --- tiny.orig/arch/alpha/kernel/irq.c 2004-03-25 13:36:07.000000000 -0600 +++ tiny/arch/alpha/kernel/irq.c 2004-04-21 13:06:06.000000000 -0500 @@ -415,16 +415,12 @@ #endif /* - * Create entries for all existing IRQs. If the number of IRQs - * is greater the 1/4 the total dynamic inode space for /proc, - * don't pollute the inode space + * Create entries for all existing IRQs. */ - if (ACTUAL_NR_IRQS < (PROC_NDYNAMIC / 4)) { - for (i = 0; i < ACTUAL_NR_IRQS; i++) { - if (irq_desc[i].handler == &no_irq_type) - continue; - register_irq_proc(i); - } + for (i = 0; i < ACTUAL_NR_IRQS; i++) { + if (irq_desc[i].handler == &no_irq_type) + continue; + register_irq_proc(i); } }
-- Matt Mackall : http://www.selenic.com : Linux development and consulting - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |