linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: macro@linux-mips.org
Date: Sun, 30 Jan 2005 04:47:05 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     macro@ftp.linux-mips.org        05/01/30 04:46:58

Modified files:
        arch/mips/kernel: dma-no-isa.c 

Log message:
        Define the spinlock the "modern" way.

diff -urN linux/arch/mips/kernel/dma-no-isa.c 
linux/arch/mips/kernel/dma-no-isa.c
--- linux/arch/mips/kernel/dma-no-isa.c 2004/12/28 09:09:19     1.1
+++ linux/arch/mips/kernel/dma-no-isa.c 2005/01/30 04:46:58     1.2
@@ -12,7 +12,7 @@
 #include <linux/module.h>
 #include <linux/spinlock.h>
 
-spinlock_t dma_spin_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(dma_spin_lock);
 
 int request_dma(unsigned int dmanr, const char * device_id)
 {

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