linux/arch/x86/include/asm/types.h
<<
>>
Prefs
   1#ifndef _ASM_X86_TYPES_H
   2#define _ASM_X86_TYPES_H
   3
   4#define dma_addr_t      dma_addr_t
   5
   6#include <asm-generic/types.h>
   7
   8#ifdef __KERNEL__
   9#ifndef __ASSEMBLY__
  10
  11typedef u64 dma64_addr_t;
  12#if defined(CONFIG_X86_64) || defined(CONFIG_HIGHMEM64G)
  13/* DMA addresses come in 32-bit and 64-bit flavours. */
  14typedef u64 dma_addr_t;
  15#else
  16typedef u32 dma_addr_t;
  17#endif
  18
  19#endif /* __ASSEMBLY__ */
  20#endif /* __KERNEL__ */
  21
  22#endif /* _ASM_X86_TYPES_H */
  23