blob: 345df01534a4c9b1fbabab2c84c426c8f3945c6d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ASM_ARM_TYPES_H
2#define __ASM_ARM_TYPES_H
3
H. Peter Anvin4cc1a102008-04-06 10:35:00 -07004#include <asm-generic/int-ll64.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#ifndef __ASSEMBLY__
7
8typedef unsigned short umode_t;
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#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
Linus Torvalds1da177e2005-04-16 15:20:36 -070021/* Dma addresses are 32-bits wide. */
22
23typedef u32 dma_addr_t;
24typedef u32 dma64_addr_t;
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif /* __ASSEMBLY__ */
27
28#endif /* __KERNEL__ */
29
30#endif
31