LCOV - code coverage report
Current view: top level - arch/x86/include/asm - types.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2017-01-25 Functions: 0 0 -

          Line data    Source code
       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             : 
      11             : typedef u64 dma64_addr_t;
      12             : #if defined(CONFIG_X86_64) || defined(CONFIG_HIGHMEM64G)
      13             : /* DMA addresses come in 32-bit and 64-bit flavours. */
      14           1 : typedef u64 dma_addr_t;
      15             : #else
      16             : typedef u32 dma_addr_t;
      17             : #endif
      18             : 
      19             : #endif /* __ASSEMBLY__ */
      20             : #endif /* __KERNEL__ */
      21             : 
      22             : #endif /* _ASM_X86_TYPES_H */

Generated by: LCOV version 1.10