blob: 9cefda6f534a19f641cf467a758a0e88c0d900a8 [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001/*
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
H. Peter Anvin63eae0c2008-04-06 10:35:01 -070011#include <asm-generic/int-ll64.h>
12
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070013#ifndef __ASSEMBLY__
14
15typedef unsigned short umode_t;
16
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070017#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
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070028/* Dma addresses are 32-bits wide. */
29
30typedef u32 dma_addr_t;
31
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070032#endif /* __ASSEMBLY__ */
33
34#endif /* __KERNEL__ */
35
36
37#endif /* __ASM_AVR32_TYPES_H */