diff options
Diffstat (limited to 'include/acpi/platform/aclinux.h')
-rw-r--r-- | include/acpi/platform/aclinux.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 2e6d54569ee8..2f5bb5bd76b7 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -52,27 +52,22 @@ | |||
52 | #include <linux/config.h> | 52 | #include <linux/config.h> |
53 | #include <linux/string.h> | 53 | #include <linux/string.h> |
54 | #include <linux/kernel.h> | 54 | #include <linux/kernel.h> |
55 | #include <linux/module.h> | ||
55 | #include <linux/ctype.h> | 56 | #include <linux/ctype.h> |
56 | #include <asm/system.h> | 57 | #include <asm/system.h> |
57 | #include <asm/atomic.h> | 58 | #include <asm/atomic.h> |
58 | #include <asm/div64.h> | 59 | #include <asm/div64.h> |
59 | #include <asm/acpi.h> | 60 | #include <asm/acpi.h> |
61 | #include <linux/slab.h> | ||
60 | 62 | ||
61 | #define strtoul simple_strtoul | 63 | /* Host-dependent types and defines */ |
62 | |||
63 | #define ACPI_MACHINE_WIDTH BITS_PER_LONG | ||
64 | 64 | ||
65 | /* Type(s) for the OSL */ | 65 | #define ACPI_MACHINE_WIDTH BITS_PER_LONG |
66 | 66 | #define acpi_cache_t kmem_cache_t | |
67 | #ifdef ACPI_USE_LOCAL_CACHE | 67 | #define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol); |
68 | #define acpi_cache_t struct acpi_memory_list | 68 | #define strtoul simple_strtoul |
69 | #else | ||
70 | #include <linux/slab.h> | ||
71 | #define acpi_cache_t kmem_cache_t | ||
72 | #endif | ||
73 | 69 | ||
74 | /* Full namespace pathname length limit - arbitrary */ | 70 | /* Full namespace pathname length limit - arbitrary */ |
75 | |||
76 | #define ACPI_PATHNAME_MAX 256 | 71 | #define ACPI_PATHNAME_MAX 256 |
77 | 72 | ||
78 | #else /* !__KERNEL__ */ | 73 | #else /* !__KERNEL__ */ |