firmware: create firmware binaries during 'make modules'.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-parisc / types.h
blob7f5a39bfb4ce1eabecfed3e1cc88f27d3cee078f
1 #ifndef _PARISC_TYPES_H
2 #define _PARISC_TYPES_H
4 #include <asm-generic/int-ll64.h>
6 #ifndef __ASSEMBLY__
8 typedef unsigned short umode_t;
10 #endif /* __ASSEMBLY__ */
13 * These aren't exported outside the kernel to avoid name space clashes
15 #ifdef __KERNEL__
17 #ifdef CONFIG_64BIT
18 #define BITS_PER_LONG 64
19 #define SHIFT_PER_LONG 6
20 #else
21 #define BITS_PER_LONG 32
22 #define SHIFT_PER_LONG 5
23 #endif
25 #ifndef __ASSEMBLY__
27 /* Dma addresses are 32-bits wide. */
29 typedef u32 dma_addr_t;
30 typedef u64 dma64_addr_t;
32 #endif /* __ASSEMBLY__ */
34 #endif /* __KERNEL__ */
36 #endif