提交 e68110fb 编写于 作者: B Bjorn Helgaas 提交者: Rusty Russell

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/448Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 144e2ce6
无相关合并请求
...@@ -193,7 +193,7 @@ acpi_status __init acpi_os_initialize(void) ...@@ -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);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部