projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
168ef54
)
x86: Use cpumask accessors code for possible/present maps.
author
Mike Travis
<travis@sgi.com>
Wed, 17 Dec 2008 01:34:02 +0000
(17:34 -0800)
committer
Mike Travis
<travis@sgi.com>
Wed, 17 Dec 2008 01:40:58 +0000
(17:40 -0800)
Impact: use new API
Use the accessors rather than frobbing bits directly. Most of this is
in arch code I haven't even compiled, but is straightforward.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
arch/x86/kernel/apic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/apic.c
b/arch/x86/kernel/apic.c
index 3b630ec24935b7f678c3b839eb64602d60af7b7a..edda4c00e3d2de97e9cc68bbc8c4fc98d0963847 100644
(file)
--- a/
arch/x86/kernel/apic.c
+++ b/
arch/x86/kernel/apic.c
@@
-1903,8
+1903,8
@@
void __cpuinit generic_processor_info(int apicid, int version)
}
#endif
-
cpu_set(cpu, cpu_possible_map
);
-
cpu_set(cpu, cpu_present_map
);
+
set_cpu_possible(cpu, true
);
+
set_cpu_present(cpu, true
);
}
#ifdef CONFIG_X86_64