PATCH: JAZZ jazzdma.c linux_2_4
Spellcheck
diff -Naur -p -X dontdiff linux_2_4/arch/mips/jazz/jazzdma.c linux_2_4-jazz/arch/mips/jazz/jazzdma.c
arch/mips/jazz/jazzdma.c Fri Oct 15 20:44:52 2004 renamed from arch/mips/jazz/jazzdma.c Wed Oct 22 04:29:14 2003 +3 -3
@@ -108,7 +108,7 @@ unsigned long vdma_alloc(unsigned long p return VDMA_ERROR; /* invalid physical address */ } - spin_lock_saveirq(&jazz_dma_lock, flags); + spin_lock_irqsave(&jazz_dma_lock, flags); /* * Find free chunk
@@ -120,7 +120,7 @@ unsigned long vdma_alloc(unsigned long p first < VDMA_PGTBL_ENTRIES) first++; if (first + pages > VDMA_PGTBL_ENTRIES) { /* nothing free */ - spin_unlock_restoreirq(&jazz_dma_lock, flags); + spin_unlock_irqrestore(&jazz_dma_lock, flags); return VDMA_ERROR; }
@@ -167,7 +167,7 @@ unsigned long vdma_alloc(unsigned long p printk("\n"); } - spin_unlock_restoreirq(&jazz_dma_lock, flags); + spin_unlock_irqrestore(&jazz_dma_lock, flags); return laddr; }
Quoted 1 line · Alec Voropay
Spellcheck
Thanks. Applied as obvious after a manual formatting fix -- please try
keeping formatting correct in the future.
Maciej