From: Ido Yariv Date: Thu, 14 Jun 2012 15:43:08 +0000 (+0300) Subject: x86/vsmp: Fix linker error when CONFIG_PROC_FS is not set X-Git-Tag: v3.6-rc1~162^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48daf37a3d2e2b28a61e615c0fc538301edb0dd;p=pandora-kernel.git 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 Signed-off-by: Ido Yariv Acked-by: Shai Fultheim Link: http://lkml.kernel.org/r/1339688588-12674-1-git-send-email-ido@wizery.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed