diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
tree | 421fa29aedff988e392f92780637553e275d37a0 /include/acpi/platform/aclinux.h | |
parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'include/acpi/platform/aclinux.h')
-rw-r--r-- | include/acpi/platform/aclinux.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 3c6a6205853a..277d35bced03 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -51,27 +51,22 @@ | |||
51 | 51 | ||
52 | #include <linux/string.h> | 52 | #include <linux/string.h> |
53 | #include <linux/kernel.h> | 53 | #include <linux/kernel.h> |
54 | #include <linux/module.h> | ||
54 | #include <linux/ctype.h> | 55 | #include <linux/ctype.h> |
55 | #include <asm/system.h> | 56 | #include <asm/system.h> |
56 | #include <asm/atomic.h> | 57 | #include <asm/atomic.h> |
57 | #include <asm/div64.h> | 58 | #include <asm/div64.h> |
58 | #include <asm/acpi.h> | 59 | #include <asm/acpi.h> |
60 | #include <linux/slab.h> | ||
59 | 61 | ||
60 | #define strtoul simple_strtoul | 62 | /* Host-dependent types and defines */ |
61 | |||
62 | #define ACPI_MACHINE_WIDTH BITS_PER_LONG | ||
63 | 63 | ||
64 | /* Type(s) for the OSL */ | 64 | #define ACPI_MACHINE_WIDTH BITS_PER_LONG |
65 | 65 | #define acpi_cache_t kmem_cache_t | |
66 | #ifdef ACPI_USE_LOCAL_CACHE | 66 | #define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol); |
67 | #define acpi_cache_t struct acpi_memory_list | 67 | #define strtoul simple_strtoul |
68 | #else | ||
69 | #include <linux/slab.h> | ||
70 | #define acpi_cache_t kmem_cache_t | ||
71 | #endif | ||
72 | 68 | ||
73 | /* Full namespace pathname length limit - arbitrary */ | 69 | /* Full namespace pathname length limit - arbitrary */ |
74 | |||
75 | #define ACPI_PATHNAME_MAX 256 | 70 | #define ACPI_PATHNAME_MAX 256 |
76 | 71 | ||
77 | #else /* !__KERNEL__ */ | 72 | #else /* !__KERNEL__ */ |
@@ -103,4 +98,8 @@ | |||
103 | 98 | ||
104 | #define acpi_cpu_flags unsigned long | 99 | #define acpi_cpu_flags unsigned long |
105 | 100 | ||
101 | #define acpi_thread_id u32 | ||
102 | |||
103 | static inline acpi_thread_id acpi_os_get_thread_id(void) { return 0; } | ||
104 | |||
106 | #endif /* __ACLINUX_H__ */ | 105 | #endif /* __ACLINUX_H__ */ |