acpi: fix integer as NULL pointer warning
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-h8300 / types.h
blob12875190b156647b430033ff61b7894b14e3f53b
1 #ifndef _H8300_TYPES_H
2 #define _H8300_TYPES_H
4 #include <asm-generic/int-ll64.h>
6 #if !defined(__ASSEMBLY__)
8 /*
9 * This file is never included by application software unless
10 * explicitly requested (e.g., via linux/types.h) in which case the
11 * application is Linux specific so (user-) name space pollution is
12 * not a major issue. However, for interoperability, libraries still
13 * need to be careful to avoid a name clashes.
16 typedef unsigned short umode_t;
19 * These aren't exported outside the kernel to avoid name space clashes
21 #ifdef __KERNEL__
23 #define BITS_PER_LONG 32
25 /* Dma addresses are 32-bits wide. */
27 typedef u32 dma_addr_t;
29 #endif /* __KERNEL__ */
31 #endif /* __ASSEMBLY__ */
33 #endif /* _H8300_TYPES_H */