ia64: Fix setup_per_cpu_areas() compilation error
authorFenghua Yu <fenghua.yu@intel.com>
Mon, 13 Jul 2009 20:09:43 +0000 (13:09 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 15 Jul 2009 02:46:34 +0000 (11:46 +0900)
commit872fb6dd6b07986417964e089074e7acfd025f4c
tree6d3de5b54db0a61fc09f7864a4b4d75ddef8f7a7
parent023bf6f1b8bf58dc4da7f0dc1cf4787b0d5297c1
ia64: Fix setup_per_cpu_areas() compilation error

Fix ia64 build setup_per_cpu_areas() redifinition issue in UP
configuration.  When compiling ia64 kernel in UP configuration, the
following compilation errors are reported:

arch/ia64/kernel/setup.c:860: error: redefinition of 'setup_per_cpu_areas'
include/linux/percpu.h:185: error: previous definition of 'setup_per_cpu_areas' was here

The patch fixes the issue in arch/ia64/kernel/setup.c

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/ia64/kernel/setup.c