Skip to content

Commit

Permalink
ACPI: remove cpumask_t usage
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
Bjorn Helgaas authored and rustyrussell committed Sep 24, 2009
1 parent 144e2ce commit e68110f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ acpi_status __init acpi_os_initialize(void)

static void bind_to_cpu0(struct work_struct *work)
{
set_cpus_allowed(current, cpumask_of_cpu(0));
set_cpus_allowed_ptr(current, cpumask_of(0));
kfree(work);
}

Expand Down

0 comments on commit e68110f

Please sign in to comment.