PageRenderTime 47ms CodeModel.GetById 43ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/m32r/include/asm/types.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 30 lines | 14 code | 12 blank | 4 comment | 0 complexity | 836cb931fc36c83fc93fa27dd7d687ef MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1#ifndef _ASM_M32R_TYPES_H
 2#define _ASM_M32R_TYPES_H
 3
 4#include <asm-generic/int-ll64.h>
 5
 6#ifndef __ASSEMBLY__
 7
 8typedef unsigned short umode_t;
 9
10#endif /* __ASSEMBLY__ */
11
12/*
13 * These aren't exported outside the kernel to avoid name space clashes
14 */
15#ifdef __KERNEL__
16
17#define BITS_PER_LONG 32
18
19#ifndef __ASSEMBLY__
20
21/* DMA addresses are 32-bits wide.  */
22
23typedef u32 dma_addr_t;
24typedef u64 dma64_addr_t;
25
26#endif /* __ASSEMBLY__ */
27
28#endif /* __KERNEL__ */
29
30#endif /* _ASM_M32R_TYPES_H */