diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-09-24 11:34:38 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-23 20:04:38 -0400 |
commit | e68110fb54c3c784fb66be67d8d18a86286eefdd (patch) | |
tree | 0135bee6037933a0fc8a22e0222664e9e860e916 /drivers/acpi/osl.c | |
parent | 144e2ce6115c0a1ee4cb5c935360ea4e2966b0ce (diff) |
ACPI: remove cpumask_t usage
set_cpus_allowed() is on the way out; replace it with
set_cpus_allowed_ptr().
Reference: http://lkml.org/lkml/2008/11/6/448
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 56071b67bed5..5633b86e3ed1 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -193,7 +193,7 @@ acpi_status __init acpi_os_initialize(void) | |||
193 | 193 | ||
194 | static void bind_to_cpu0(struct work_struct *work) | 194 | static void bind_to_cpu0(struct work_struct *work) |
195 | { | 195 | { |
196 | set_cpus_allowed(current, cpumask_of_cpu(0)); | 196 | set_cpus_allowed_ptr(current, cpumask_of(0)); |
197 | kfree(work); | 197 | kfree(work); |
198 | } | 198 | } |
199 | 199 | ||