Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6] / include / asm-avr32 / types.h
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
11 #include <asm-generic/int-ll64.h>
12
13 #ifndef __ASSEMBLY__
14
15 typedef unsigned short umode_t;
16
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
28 /* Dma addresses are 32-bits wide.  */
29
30 typedef u32 dma_addr_t;
31
32 #endif /* __ASSEMBLY__ */
33
34 #endif /* __KERNEL__ */
35
36
37 #endif /* __ASM_AVR32_TYPES_H */