Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[pandora-kernel.git] / arch / microblaze / include / asm / types.h
1 /*
2  * Copyright (C) Atmark Techno, Inc.
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License. See the file "COPYING" in the main directory of this archive
6  * for more details.
7  */
8
9 #ifndef _ASM_MICROBLAZE_TYPES_H
10 #define _ASM_MICROBLAZE_TYPES_H
11
12 /*
13  * This file is never included by application software unless
14  * explicitly requested (e.g., via linux/types.h) in which case the
15  * application is Linux specific so (user-) name space pollution is
16  * not a major issue.  However, for interoperability, libraries still
17  * need to be careful to avoid a name clashes.
18  */
19
20 #include <asm-generic/int-ll64.h>
21
22 # ifndef __ASSEMBLY__
23
24 typedef unsigned short umode_t;
25
26 /*
27  * These aren't exported outside the kernel to avoid name space clashes
28  */
29 #  ifdef __KERNEL__
30 #  define BITS_PER_LONG 32
31
32 /* Dma addresses are 32-bits wide. */
33
34 typedef u32 dma_addr_t;
35
36 #  endif/* __KERNEL__ */
37 # endif /* __ASSEMBLY__ */
38 #endif /* _ASM_MICROBLAZE_TYPES_H */