···1515#include <asm/delay.h>1616#include <asm/oplib.h>17171818-extern spinlock_t dma_spin_lock;1919-2020-#define claim_dma_lock() \2121-({ unsigned long flags; \2222- spin_lock_irqsave(&dma_spin_lock, flags); \2323- flags; \2424-})2525-2626-#define release_dma_lock(__flags) \2727- spin_unlock_irqrestore(&dma_spin_lock, __flags);2828-2918/* These are irrelevant for Sparc DMA, but we leave it in so that3019 * things can compile.3120 */