From: Jan-Benedict G. <jb...@us...> - 2005-07-31 18:12:52
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26619 Modified Files: hardirq.h Log Message: - Lower HARDIRQ_BITS from 15 to 10. This is needed to not collide with PREEMPT_ACTIVE (0x40000000), which is checked these days in include/linux/hardirq.h . Though, I'm not sure if this patch is actually okay. - PLEASE COMMENT ON IT! Index: hardirq.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/hardirq.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- hardirq.h 31 Jul 2005 13:22:20 -0000 1.14 +++ hardirq.h 31 Jul 2005 18:12:44 -0000 1.15 @@ -19,17 +19,8 @@ #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ -/* - * We put the hardirq and softirq counter into the preemption - * counter. The bitmask has the following meaning: - * - * - bits 0-7 are the preemption count (max depth: 256) - * - bits 8-15 are the softirq count (max # of softirqs: 256) - * - bits 16-30 are the hardirq count (max # of hardirqs: 256) - * - bit 31 is the PREEMPT_ACTIVE flag - */ - -#define HARDIRQ_BITS 15 +/* Enough space to represent out 384 IRQs. */ +#define HARDIRQ_BITS 10 /* was: 15 -- jb...@lu..., 20050731 */ /* * The hardirq mask has to be large enough to have space |