Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[linux-2.6/mini2440.git] / include / asm-m68k / types.h
blob6441cb5f8e7c84765716a782c0974a5d692f1b3a
1 #ifndef _M68K_TYPES_H
2 #define _M68K_TYPES_H
4 /*
5 * This file is never included by application software unless
6 * explicitly requested (e.g., via linux/types.h) in which case the
7 * application is Linux specific so (user-) name space pollution is
8 * not a major issue. However, for interoperability, libraries still
9 * need to be careful to avoid a name clashes.
11 #include <asm-generic/int-ll64.h>
13 #ifndef __ASSEMBLY__
15 typedef unsigned short umode_t;
17 #endif /* __ASSEMBLY__ */
20 * These aren't exported outside the kernel to avoid name space clashes
22 #ifdef __KERNEL__
24 #define BITS_PER_LONG 32
26 #ifndef __ASSEMBLY__
28 /* DMA addresses are always 32-bits wide */
30 typedef u32 dma_addr_t;
31 typedef u32 dma64_addr_t;
33 #endif /* __ASSEMBLY__ */
35 #endif /* __KERNEL__ */
37 #endif /* _M68K_TYPES_H */