x86/xen: fix arbitrary_virt_to_machine()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm / types.h
blob345df01534a4c9b1fbabab2c84c426c8f3945c6d
1 #ifndef __ASM_ARM_TYPES_H
2 #define __ASM_ARM_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 #define BITS_PER_LONG 32
19 #ifndef __ASSEMBLY__
21 /* Dma addresses are 32-bits wide. */
23 typedef u32 dma_addr_t;
24 typedef u32 dma64_addr_t;
26 #endif /* __ASSEMBLY__ */
28 #endif /* __KERNEL__ */
30 #endif