diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-09-20 22:36:42 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 08:51:07 -0400 |
commit | 99b6e9be71b9ad2c50c0d160b5af18848fee466d (patch) | |
tree | 7c3b858765ecfbc9cd7ca3b135a766f7d1177e32 /include | |
parent | f312094556619aed849862089938c14aa6a5b84b (diff) |
[PARISC] Make DMA routines more stubby
We were pretending to use the GENERIC_ISA_DMA routines, but never
selected that symbol. Since ISA DMA is known to not work right now,
just remove the attempts to acquire the dma_spin_lock to fix compile
warnings.
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-parisc/dma.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-parisc/dma.h b/include/asm-parisc/dma.h index 9979c3cb3745..da2cf373e31c 100644 --- a/include/asm-parisc/dma.h +++ b/include/asm-parisc/dma.h | |||
@@ -72,18 +72,13 @@ | |||
72 | #define DMA2_MASK_ALL_REG 0xDE /* all-channels mask (w) */ | 72 | #define DMA2_MASK_ALL_REG 0xDE /* all-channels mask (w) */ |
73 | #define DMA2_EXT_MODE_REG (0x400 | DMA2_MODE_REG) | 73 | #define DMA2_EXT_MODE_REG (0x400 | DMA2_MODE_REG) |
74 | 74 | ||
75 | extern spinlock_t dma_spin_lock; | ||
76 | |||
77 | static __inline__ unsigned long claim_dma_lock(void) | 75 | static __inline__ unsigned long claim_dma_lock(void) |
78 | { | 76 | { |
79 | unsigned long flags; | 77 | return 0; |
80 | spin_lock_irqsave(&dma_spin_lock, flags); | ||
81 | return flags; | ||
82 | } | 78 | } |
83 | 79 | ||
84 | static __inline__ void release_dma_lock(unsigned long flags) | 80 | static __inline__ void release_dma_lock(unsigned long flags) |
85 | { | 81 | { |
86 | spin_unlock_irqrestore(&dma_spin_lock, flags); | ||
87 | } | 82 | } |
88 | 83 | ||
89 | 84 | ||