Messages in this thread |  | | | Date | Sat, 31 Jan 1998 14:56:27 +0100 | | From | Harald Hoyer <> | | Subject | Fix for SMP irq autoprobe with V2.1.8[0123] |
| |
HI,
tracking down the problem the kernels have with auto probing my ide irqs, I found that, when I change:
arch/i386/kernel/irq.c:
unsigned long probe_irq_on (void) { unsigned int i, j, irqs = 0; unsigned long delay; /* * save current irq counts */ memcpy(probe_irqs,kstat.irqs,NR_CPUS*NR_IRQS*sizeof(int)); /* * first, enable any unassigned irqs */ for (i = NR_IRQS-1; i > 0; i--) { if (!irq_action[i]) { /********************** CHANGED ***************************/ /* spin_lock(&irq_controller_lock); */ spin_lock_irq(&irq_controller_lock); unmask_irq(i); irqs |= (1 << i); /********************** CHANGED ***************************/ /* spin_unlock(&irq_controller_lock); */ spin_unlock_irq(&irq_controller_lock); } } everything seems to work all right. Has this patch some side effects ???
By the way ... how could I tell my 2 Pentium 200 MMX on a Tomcat III to share the PIIX3 ide0/1 ???
Keep on developing, Harald -- mailto:HarryH@Royal.Net http://hot.spotline.de http://home.pages.de/~saturn ___________________________________________________________________________ Computers are like air conditioner. Both stop working, if you open windows.begin: vcard fn: Harald Hoyer n: Hoyer;Harald org: Software Beratung, Erstellung und Vertrieb adr: Alleenstr. 27;;;Asperg;Baden-W |  |