X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc64%2Fdma.h;h=a9fd0618397231e917bd32c8665af80d1495c849;hb=54866f032307063776b4eff7eadb131d47f9f9b4;hp=1bf4f7a8fbe1a7c3413646f044561a7f6e74e5b6;hpb=db7ce76f6b3dfc119ab2f03e5e7784afc9cf2f05;p=linux-2.6 diff --git a/include/asm-sparc64/dma.h b/include/asm-sparc64/dma.h index 1bf4f7a8fb..a9fd061839 100644 --- a/include/asm-sparc64/dma.h +++ b/include/asm-sparc64/dma.h @@ -15,17 +15,6 @@ #include #include -extern spinlock_t dma_spin_lock; - -#define claim_dma_lock() \ -({ unsigned long flags; \ - spin_lock_irqsave(&dma_spin_lock, flags); \ - flags; \ -}) - -#define release_dma_lock(__flags) \ - spin_unlock_irqrestore(&dma_spin_lock, __flags); - /* These are irrelevant for Sparc DMA, but we leave it in so that * things can compile. */