x86/vsmp: Fix linker error when CONFIG_PROC_FS is not set
authorIdo Yariv <ido@wizery.com>
Thu, 14 Jun 2012 15:43:08 +0000 (18:43 +0300)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Jun 2012 11:54:11 +0000 (13:54 +0200)
commitd48daf37a3d2e2b28a61e615c0fc538301edb0dd
treef40d28281164efdf915ae252d8fbc6445a63458f
parent110c1e1f1bf61e5dca53ff5c9dc75243ce87c002
x86/vsmp: Fix linker error when CONFIG_PROC_FS is not set

set_vsmp_pv_ops() references no_irq_affinity which is undeclared
if CONFIG_PROC_FS isn't set. Fix this by adding an #ifdef around
this variable's access.

Reported-by: Fengguang Wu <wfg@linux.intel.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Acked-by: Shai Fultheim <shai@scalemp.com>
Link: http://lkml.kernel.org/r/1339688588-12674-1-git-send-email-ido@wizery.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/vsmp_64.c