瀏覽代碼

Merge git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-inttypes

* git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-inttypes:
  fix asm-mips/types.h syntax error
  fix asm-alpha/types.h breakage
Linus Torvalds 17 年之前
父節點
當前提交
f74d505b58
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 6 0
      include/asm-alpha/types.h
  2. 0 2
      include/asm-mips/types.h

+ 6 - 0
include/asm-alpha/types.h

@@ -23,5 +23,11 @@ typedef unsigned int umode_t;
 
 
 #define BITS_PER_LONG 64
 #define BITS_PER_LONG 64
 
 
+#ifndef __ASSEMBLY__
+
+typedef u64 dma_addr_t;
+typedef u64 dma64_addr_t;
+
+#endif /* __ASSEMBLY__ */
 #endif /* __KERNEL__ */
 #endif /* __KERNEL__ */
 #endif /* _ALPHA_TYPES_H */
 #endif /* _ALPHA_TYPES_H */

+ 0 - 2
include/asm-mips/types.h

@@ -19,8 +19,6 @@
 
 
 typedef unsigned short umode_t;
 typedef unsigned short umode_t;
 
 
-#endif
-
 #endif /* __ASSEMBLY__ */
 #endif /* __ASSEMBLY__ */
 
 
 /*
 /*