diff options
author | Len Brown <len.brown@intel.com> | 2006-07-10 02:39:36 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-10 02:39:36 -0400 |
commit | 20b499aa06edf59fa2d21f29d42d36586c6c058e (patch) | |
tree | 2691a1de8f285fcc9a65fa65bd2ece4d4ec8404f /include/acpi/platform | |
parent | dece75b3a288fa49b3aab685543ec2f5c94b8cfc (diff) | |
parent | ab8aa06a5c0b75974fb1949365cbb20a15cedf14 (diff) |
Pull bugzilla-6687 into test branch
Diffstat (limited to 'include/acpi/platform')
-rw-r--r-- | include/acpi/platform/aclinux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 3f853cabbd4..1cb51bf96ec 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h @@ -59,6 +59,7 @@ #include <asm/acpi.h> #include <linux/slab.h> #include <linux/spinlock_types.h> +#include <asm/current.h> /* Host-dependent types and defines */ @@ -100,8 +101,8 @@ #define acpi_cpu_flags unsigned long -#define acpi_thread_id u32 +#define acpi_thread_id struct task_struct * -static inline acpi_thread_id acpi_os_get_thread_id(void) { return 0; } +static inline acpi_thread_id acpi_os_get_thread_id(void) { return current; } #endif /* __ACLINUX_H__ */ |