diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
commit | 78c388aed2b7184182c08428db1de6c872d815f5 (patch) | |
tree | 4b2003b1b4ceb241a17faa995da8dd1004bb8e45 /kernel/dma.c | |
parent | eb7a5bf93aaa4be1d7c6181100ab7639e74d67f7 (diff) |
Merge with Linux 2.1.131 and more MIPS goodies.
(Did I mention that CVS is buggy ...)
Diffstat (limited to 'kernel/dma.c')
-rw-r--r-- | kernel/dma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/dma.c b/kernel/dma.c index 0f13e6627..4ae38f4e5 100644 --- a/kernel/dma.c +++ b/kernel/dma.c @@ -14,6 +14,7 @@ #include <linux/errno.h> #include <asm/dma.h> #include <asm/system.h> +#include <asm/spinlock.h> /* A note on resource allocation: @@ -32,6 +33,8 @@ */ +spinlock_t dma_spin_lock = SPIN_LOCK_UNLOCKED; + /* Channel n is busy iff dma_chan_busy[n].lock != 0. * DMA0 used to be reserved for DRAM refresh, but apparently not any more... |