thermal: remove driver_data direct access of struct device
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ia64 / include / asm / types.h
blobfbf1ed3b44ced9ea3701fd59c38d1b61957adca7
1 #ifndef _ASM_IA64_TYPES_H
2 #define _ASM_IA64_TYPES_H
4 /*
5 * This file is never included by application software unless explicitly requested (e.g.,
6 * via linux/types.h) in which case the application is Linux specific so (user-) name
7 * space pollution is not a major issue. However, for interoperability, libraries still
8 * need to be careful to avoid a name clashes.
10 * Based on <asm-alpha/types.h>.
12 * Modified 1998-2000, 2002
13 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
16 #include <asm-generic/int-l64.h>
18 #ifdef __ASSEMBLY__
19 # define __IA64_UL(x) (x)
20 # define __IA64_UL_CONST(x) x
22 #else
23 # define __IA64_UL(x) ((unsigned long)(x))
24 # define __IA64_UL_CONST(x) x##UL
26 typedef unsigned int umode_t;
29 * These aren't exported outside the kernel to avoid name space clashes
31 # ifdef __KERNEL__
33 /* DMA addresses are 64-bits wide, in general. */
34 typedef u64 dma_addr_t;
36 # endif /* __KERNEL__ */
37 #endif /* !__ASSEMBLY__ */
39 #endif /* _ASM_IA64_TYPES_H */