Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38545
b: refs/heads/master
c: 99b6e9b
h: refs/heads/master
i:
  38543: 7304426
v: v3
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Oct 4, 2006
1 parent c095ae4 commit 604213d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f312094556619aed849862089938c14aa6a5b84b
refs/heads/master: 99b6e9be71b9ad2c50c0d160b5af18848fee466d
7 changes: 1 addition & 6 deletions trunk/include/asm-parisc/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,13 @@
#define DMA2_MASK_ALL_REG 0xDE /* all-channels mask (w) */
#define DMA2_EXT_MODE_REG (0x400 | DMA2_MODE_REG)

extern spinlock_t dma_spin_lock;

static __inline__ unsigned long claim_dma_lock(void)
{
unsigned long flags;
spin_lock_irqsave(&dma_spin_lock, flags);
return flags;
return 0;
}

static __inline__ void release_dma_lock(unsigned long flags)
{
spin_unlock_irqrestore(&dma_spin_lock, flags);
}


Expand Down

0 comments on commit 604213d

Please sign in to comment.