/* * asm/dma.h compatibility header */ #ifndef __COMPAT_ASM_DMA_H_ #define __COMPAT_ASM_DMA_H_ #include #if LINUX_VERSION_CODE < 0x020200 #include static __inline__ unsigned long claim_dma_lock(void) { unsigned long flags; save_flags(flags); cli(); return flags; } #define release_dma_lock(x) restore_flags(x) #endif #include_next #endif