This fixes a crash for me when trying to load my sound modules
(alsa-driver-0.4.1i.) The
crash was in isapnp_find_dev.
Added to the "kernel BUG at
/usr/src/linux/include/asm/spinlock.h:78!" fix for the alsa drivers
somebody posted a few days ago I might have sound again...
James
(whose bandwidth doesn't allow a subscription to the list but who reads
the archives)
--- linux-2.3.39/drivers/pnp/isapnp.c Thu Jan 13 20:51:29 2000
+++ linux/drivers/pnp/isapnp.c Thu Jan 13 21:08:14 2000
@@ -1185,10 +1185,11 @@
struct list_head *list;
list = card->devices.next;
- if (from)
+ if (from) {
list = from->bus_list.next;
- if (from->bus != card) /* something is wrong */
- return NULL;
+ if (from->bus != card) /* something is wrong */
+ return NULL;
+ }
while (list != &card->devices) {
int idx;
struct pci_dev *dev = pci_dev_b(list);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:24 EST