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:
bfcb4c1
)
x86: cpu_index build fix
author
Ingo Molnar
<mingo@elte.hu>
Thu, 30 Oct 2008 23:43:03 +0000
(
00:43
+0100)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 30 Oct 2008 23:43:03 +0000
(
00:43
+0100)
fix:
arch/x86/kernel/cpu/common.c: In function 'early_identify_cpu':
arch/x86/kernel/cpu/common.c:553: error: 'struct cpuinfo_x86' has no member named 'cpu_index'
as cpu_index is only available on SMP.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/common.c
b/arch/x86/kernel/cpu/common.c
index da8f15ac7a6d3853efae3285f22874af22131238..003a65395bd5b31e3d38329962ffc3cbc8c29807 100644
(file)
--- a/
arch/x86/kernel/cpu/common.c
+++ b/
arch/x86/kernel/cpu/common.c
@@
-550,7
+550,9
@@
static void __init early_identify_cpu(struct cpuinfo_x86 *c)
validate_pat_support(c);
+#ifdef CONFIG_SMP
c->cpu_index = boot_cpu_id;
+#endif
}
void __init early_cpu_init(void)