]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/dma.h
[SCSI] aic94xx: fix REQ_TASK_ABORT and REQ_DEVICE_RESET
[linux-2.6-omap-h63xx.git] / include / asm-sparc / dma.h
index 8ec206aa5f2ecac2191556a6344953398495210b..959d6c8a71ae72365f6d33e2c1921bebbe012317 100644 (file)
@@ -1,13 +1,11 @@
-/* $Id: dma.h,v 1.35 1999/12/27 06:37:09 anton Exp $
- * include/asm-sparc/dma.h
+/* include/asm-sparc/dma.h
  *
- * Copyright 1995 (C) David S. Miller (davem@caip.rutgers.edu)
+ * Copyright 1995 (C) David S. Miller (davem@davemloft.net)
  */
 
 #ifndef _ASM_SPARC_DMA_H
 #define _ASM_SPARC_DMA_H
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 
 struct page;
 extern spinlock_t  dma_spin_lock;
 
-static __inline__ unsigned long claim_dma_lock(void)
+static inline unsigned long claim_dma_lock(void)
 {
        unsigned long flags;
        spin_lock_irqsave(&dma_spin_lock, flags);
        return flags;
 }
 
-static __inline__ void release_dma_lock(unsigned long flags)
+static inline void release_dma_lock(unsigned long flags)
 {
        spin_unlock_irqrestore(&dma_spin_lock, flags);
 }