[PATCH] aic7xxx_osm build fix
[cris-mirror.git] / include / asm-m32r / types.h
blobca0a887d2237167e313a6aa59643a59e2ade6287
1 #ifndef _ASM_M32R_TYPES_H
2 #define _ASM_M32R_TYPES_H
4 #ifndef __ASSEMBLY__
6 /* $Id$ */
8 /* orig : i386 2.4.18 */
10 typedef unsigned short umode_t;
13 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
14 * header files exported to user space
17 typedef __signed__ char __s8;
18 typedef unsigned char __u8;
20 typedef __signed__ short __s16;
21 typedef unsigned short __u16;
23 typedef __signed__ int __s32;
24 typedef unsigned int __u32;
26 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
27 typedef __signed__ long long __s64;
28 typedef unsigned long long __u64;
29 #endif
30 #endif /* __ASSEMBLY__ */
33 * These aren't exported outside the kernel to avoid name space clashes
35 #ifdef __KERNEL__
37 #define BITS_PER_LONG 32
39 #ifndef __ASSEMBLY__
41 typedef signed char s8;
42 typedef unsigned char u8;
44 typedef signed short s16;
45 typedef unsigned short u16;
47 typedef signed int s32;
48 typedef unsigned int u32;
50 typedef signed long long s64;
51 typedef unsigned long long u64;
53 /* DMA addresses are 32-bits wide. */
55 typedef u32 dma_addr_t;
56 typedef u64 dma64_addr_t;
58 typedef unsigned short kmem_bufctl_t;
60 #endif /* __ASSEMBLY__ */
62 #endif /* __KERNEL__ */
64 #endif /* _ASM_M32R_TYPES_H */