Commit | Line | Data |
---|---|---|
5f97f7f9 HS |
1 | /* |
2 | * Copyright (C) 2004-2006 Atmel Corporation | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | #ifndef __ASM_AVR32_TYPES_H | |
9 | #define __ASM_AVR32_TYPES_H | |
10 | ||
63eae0cc PA |
11 | #include <asm-generic/int-ll64.h> |
12 | ||
5f97f7f9 HS |
13 | #ifndef __ASSEMBLY__ |
14 | ||
15 | typedef unsigned short umode_t; | |
16 | ||
5f97f7f9 HS |
17 | #endif /* __ASSEMBLY__ */ |
18 | ||
19 | /* | |
20 | * These aren't exported outside the kernel to avoid name space clashes | |
21 | */ | |
22 | #ifdef __KERNEL__ | |
23 | ||
24 | #define BITS_PER_LONG 32 | |
25 | ||
26 | #ifndef __ASSEMBLY__ | |
27 | ||
5f97f7f9 HS |
28 | /* Dma addresses are 32-bits wide. */ |
29 | ||
30 | typedef u32 dma_addr_t; | |
31 | ||
5f97f7f9 HS |
32 | #endif /* __ASSEMBLY__ */ |
33 | ||
34 | #endif /* __KERNEL__ */ | |
35 | ||
36 | ||
37 | #endif /* __ASM_AVR32_TYPES_H */ |