]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/cris/include/asm/types.h
[CRIS] Move header files from include to arch/cris/include.
[net-next-2.6.git] / arch / cris / include / asm / types.h
CommitLineData
1da177e4
LT
1#ifndef _ETRAX_TYPES_H
2#define _ETRAX_TYPES_H
3
e3b8cf04
PA
4#include <asm-generic/int-ll64.h>
5
1da177e4
LT
6#ifndef __ASSEMBLY__
7
8typedef unsigned short umode_t;
9
1da177e4
LT
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
1da177e4
LT
21/* Dma addresses are 32-bits wide, just like our other addresses. */
22
23typedef u32 dma_addr_t;
24typedef u32 dma64_addr_t;
25
1da177e4
LT
26#endif /* __ASSEMBLY__ */
27
28#endif /* __KERNEL__ */
29
30#endif