OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144e2ce
)
ACPI: remove cpumask_t usage
author
Bjorn Helgaas
<bjorn.helgaas@hp.com>
Thu, 24 Sep 2009 15:34:38 +0000
(09:34 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 00:04:38 +0000
(09:34 +0930)
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>
drivers/acpi/osl.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/osl.c
b/drivers/acpi/osl.c
index
56071b6
..
5633b86
100644
(file)
--- a/
drivers/acpi/osl.c
+++ b/
drivers/acpi/osl.c
@@
-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);
}