linux-mips
[Top] [All Lists]

PATCH: JAZZ jazzdma.c linux_2_4

To: <linux-mips@linux-mips.org>
Subject: PATCH: JAZZ jazzdma.c linux_2_4
From: "Alec Voropay" <a.voropay@vmb-service.ru>
Date: Fri, 15 Oct 2004 21:35:49 +0400
Importance: Normal
Organization: VMB-Service
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: <a.voropay@vmb-service.ru>
Sender: linux-mips-bounce@linux-mips.org

Spellcheck


diff -Naur -p -X dontdiff linux_2_4/arch/mips/jazz/jazzdma.c
linux_2_4-jazz/arch/mips/jazz/jazzdma.c
--- linux_2_4/arch/mips/jazz/jazzdma.c  Wed Oct 22 04:29:14 2003
+++ linux_2_4-jazz/arch/mips/jazz/jazzdma.c     Fri Oct 15 20:44:52 2004
@@ -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;
 }


<Prev in Thread] Current Thread [Next in Thread>