linux/arch/alpha/include/asm/types.h
<<
>>
Prefs
   1#ifndef _ALPHA_TYPES_H
   2#define _ALPHA_TYPES_H
   3
   4/*
   5 * This file is never included by application software unless
   6 * explicitly requested (e.g., via linux/types.h) in which case the
   7 * application is Linux specific so (user-) name space pollution is
   8 * not a major issue.  However, for interoperability, libraries still
   9 * need to be careful to avoid a name clashes.
  10 */
  11
  12#ifdef __KERNEL__
  13#include <asm-generic/int-ll64.h>
  14#else
  15#include <asm-generic/int-l64.h>
  16#endif
  17
  18#ifndef __ASSEMBLY__
  19
  20typedef unsigned int umode_t;
  21
  22#endif /* __ASSEMBLY__ */
  23
  24/*
  25 * These aren't exported outside the kernel to avoid name space clashes
  26 */
  27#ifdef __KERNEL__
  28#ifndef __ASSEMBLY__
  29
  30typedef u64 dma_addr_t;
  31typedef u64 dma64_addr_t;
  32
  33#endif /* __ASSEMBLY__ */
  34#endif /* __KERNEL__ */
  35#endif /* _ALPHA_TYPES_H */
  36