From: Jayachandran C Date: Mon, 25 Mar 2013 06:51:52 +0000 (+0000) Subject: MIPS: Netlogic: Fix oprofile compile on XLR uniprocessor X-Git-Tag: v3.10-rc1~15^2~2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83a18415ba295c25d94bdc81fdb3a18fc1c2ce4e;p=pandora-kernel.git MIPS: Netlogic: Fix oprofile compile on XLR uniprocessor The commit c783390a0ecef08df5c804f8c5f647431a04f502 [MIPS: oprofile: Support for XLR/XLS processors] causes a compilation failure when oprofile is enabled and SMP is not configured. arch/mips/oprofile/op_model_mipsxx.c: In function 'mipsxx_cpu_setup': arch/mips/oprofile/op_model_mipsxx.c:181:2: error: implicit declaration of function 'cpu_logical_map' To fix this, update oprofile_skip_cpu to not call cpu_logical_map when CONFIG_SMP is not defined. Signed-off-by: Jayachandran C Patchwork: http://patchwork.linux-mips.org/patch/5037/ Acked-by: John Crispin --- Reading git-diff-tree failed