mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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>
This commit is contained in:
parent
144e2ce611
commit
e68110fb54
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ acpi_status __init acpi_os_initialize(void)
|
||||||
|
|
||||||
static void bind_to_cpu0(struct work_struct *work)
|
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);
|
kfree(work);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue