Skip to contentSkip to conversation

0.9.7b doesn't compile with SMP kernels

PATCH New Bernhard Rosenkraenzer 1 participant 1 message Oct 13, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 0.9.7b doesn't compile with SMP kernels

SSIA - patch attached.

LLaP
bero

Signature · 5 lines
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php
pci/au88x0/au88x0_core.c renamed from pci/au88x0/au88x0_core.c.ark +2 -2
@@ -1777,7 +1777,7 @@
 	if ((nr_ch == 3) || ((dir == SNDRV_PCM_STREAM_CAPTURE)&&(nr_ch > 2)))
 		return -EBUSY;
 	
-	spin_lock(vortex->lock);
+	spin_lock(&vortex->lock);
 	if (dma >= 0) {
    		en = 0;
 		vortex_adb_checkinout(vortex, vortex->dma_adb[dma].resources, en, VORTEX_RESOURCE_DMA);
@@ -1884,7 +1884,7 @@
 		}
 	}
 	vortex->dma_adb[dma].nr_ch = nr_ch;
-	spin_unlock(vortex->lock);
+	spin_unlock(&vortex->lock);
 	
 #if 0
 	/* AC97 Codec channel setup. FIXME: this has no effect !! */