提交 85477277 编写于 作者: F FUJITA Tomonori 提交者: Linus Torvalds

remove dma64_addr_t

There is no user now.
Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: David Miller <davem@davemloft.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f9b182e2
...@@ -20,15 +20,4 @@ ...@@ -20,15 +20,4 @@
typedef unsigned int umode_t; typedef unsigned int umode_t;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/*
* These aren't exported outside the kernel to avoid name space clashes
*/
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
typedef u64 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif /* _ALPHA_TYPES_H */ #endif /* _ALPHA_TYPES_H */
...@@ -16,12 +16,6 @@ typedef unsigned short umode_t; ...@@ -16,12 +16,6 @@ typedef unsigned short umode_t;
#define BITS_PER_LONG 32 #define BITS_PER_LONG 32
#ifndef __ASSEMBLY__
typedef u32 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif #endif
......
...@@ -16,12 +16,6 @@ typedef unsigned short umode_t; ...@@ -16,12 +16,6 @@ typedef unsigned short umode_t;
#define BITS_PER_LONG 32 #define BITS_PER_LONG 32
#ifndef __ASSEMBLY__
typedef u32 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif #endif
...@@ -16,12 +16,6 @@ typedef unsigned short umode_t; ...@@ -16,12 +16,6 @@ typedef unsigned short umode_t;
#define BITS_PER_LONG 32 #define BITS_PER_LONG 32
#ifndef __ASSEMBLY__
typedef u64 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_M32R_TYPES_H */ #endif /* _ASM_M32R_TYPES_H */
...@@ -23,12 +23,6 @@ typedef unsigned short umode_t; ...@@ -23,12 +23,6 @@ typedef unsigned short umode_t;
#define BITS_PER_LONG 32 #define BITS_PER_LONG 32
#ifndef __ASSEMBLY__
typedef u32 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _M68K_TYPES_H */ #endif /* _M68K_TYPES_H */
...@@ -33,8 +33,6 @@ typedef unsigned short umode_t; ...@@ -33,8 +33,6 @@ typedef unsigned short umode_t;
#ifdef __KERNEL__ #ifdef __KERNEL__
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
typedef u64 dma64_addr_t;
/* /*
* Don't use phys_t. You've been warned. * Don't use phys_t. You've been warned.
*/ */
......
...@@ -9,17 +9,4 @@ typedef unsigned short umode_t; ...@@ -9,17 +9,4 @@ typedef unsigned short umode_t;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/*
* These aren't exported outside the kernel to avoid name space clashes
*/
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
typedef u64 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif #endif
...@@ -44,8 +44,6 @@ typedef struct { ...@@ -44,8 +44,6 @@ typedef struct {
typedef __vector128 vector128; typedef __vector128 vector128;
typedef u64 dma64_addr_t;
typedef struct { typedef struct {
unsigned long entry; unsigned long entry;
unsigned long toc; unsigned long toc;
......
...@@ -30,8 +30,6 @@ typedef __signed__ long saddr_t; ...@@ -30,8 +30,6 @@ typedef __signed__ long saddr_t;
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
typedef u64 dma64_addr_t;
#ifndef __s390x__ #ifndef __s390x__
typedef union { typedef union {
unsigned long long pair; unsigned long long pair;
......
...@@ -18,24 +18,6 @@ typedef unsigned short umode_t; ...@@ -18,24 +18,6 @@ typedef unsigned short umode_t;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#if defined(__arch64__)
/*** SPARC 64 bit ***/
typedef u64 dma64_addr_t;
#else
/*** SPARC 32 bit ***/
typedef u32 dma64_addr_t;
#endif /* defined(__arch64__) */
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif /* defined(__sparc__) */ #endif /* defined(__sparc__) */
#endif /* defined(_SPARC_TYPES_H) */ #endif /* defined(_SPARC_TYPES_H) */
...@@ -3,12 +3,4 @@ ...@@ -3,12 +3,4 @@
#include <asm-generic/types.h> #include <asm-generic/types.h>
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
typedef u64 dma64_addr_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif /* _ASM_X86_TYPES_H */ #endif /* _ASM_X86_TYPES_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册