From 211037944c1e9d511f7f257666e0b247d4a9e2d8 Mon Sep 17 00:00:00 2001 From: Fenghua Yu Date: Mon, 13 Jul 2009 13:09:43 -0700 Subject: [PATCH] --- yaml --- r: 161652 b: refs/heads/master c: 872fb6dd6b07986417964e089074e7acfd025f4c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/ia64/kernel/setup.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7dc3216caa12..5609b3709fd0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 023bf6f1b8bf58dc4da7f0dc1cf4787b0d5297c1 +refs/heads/master: 872fb6dd6b07986417964e089074e7acfd025f4c diff --git a/trunk/arch/ia64/kernel/setup.c b/trunk/arch/ia64/kernel/setup.c index 1b23ec126b63..1de86c96801d 100644 --- a/trunk/arch/ia64/kernel/setup.c +++ b/trunk/arch/ia64/kernel/setup.c @@ -855,11 +855,17 @@ identify_cpu (struct cpuinfo_ia64 *c) c->unimpl_pa_mask = ~((1L<<63) | ((1L << phys_addr_size) - 1)); } +/* + * In UP configuration, setup_per_cpu_areas() is defined in + * include/linux/percpu.h + */ +#ifdef CONFIG_SMP void __init setup_per_cpu_areas (void) { /* start_kernel() requires this... */ } +#endif /* * Do the following calculations: