diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-28 17:22:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-28 17:24:49 +0100 |
commit | 4e62445b90ac4ef708bd11c7ae052b1d5ef765b5 (patch) | |
tree | ef68db2697e4663cbfb73705631401c8a680eb47 /scripts/Lindent | |
parent | 8db78cc4b4048e3add40bca1bc3e55057c319256 (diff) | |
download | kernel_samsung_tuna-4e62445b90ac4ef708bd11c7ae052b1d5ef765b5.zip kernel_samsung_tuna-4e62445b90ac4ef708bd11c7ae052b1d5ef765b5.tar.gz kernel_samsung_tuna-4e62445b90ac4ef708bd11c7ae052b1d5ef765b5.tar.bz2 |
x86: Fix build failure on X86_UP_APIC
Commit 4c321ff8 (x86: Replace cpu_2_logical_apicid[] with early
percpu variable) and following changes introduced and used
x86_cpu_to_logical_apicid percpu variable. It was declared and
defined inside CONFIG_SMP && CONFIG_X86_32 but if
CONFIG_X86_UP_APIC is set UP configuration makes use of it and
build fails.
Fix it by declaring and defining it inside CONFIG_X86_LOCAL_APIC
&& CONFIG_X86_32.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: eric.dumazet@gmail.com
Cc: yinghai@kernel.org
Cc: brgerst@gmail.com
Cc: gorcunov@gmail.com
Cc: penberg@kernel.org
Cc: shaohui.zheng@intel.com
Cc: rientjes@google.com
LKML-Reference: <20110128162248.GA25746@htj.dyndns.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions