1 From 184edf882ebb7885b49fa231a503205da94e78f0 Mon Sep 17 00:00:00 2001
2 From: Markos Chandras <markos.chandras@imgtec.com>
3 Date: Wed, 2 Oct 2013 12:40:26 -0500
4 Subject: [PATCH 065/105] MIPS: Kconfig: CMP support needs to select SMP as
7 The CMP code is only designed to work with SMP configurations.
8 Fixes multiple build problems on certain randconfigs:
10 In file included from arch/mips/kernel/smp-cmp.c:34:0:
11 arch/mips/include/asm/smp.h:28:0:
12 error: "raw_smp_processor_id" redefined [-Werror]
14 In file included from include/linux/sched.h:30:0,
15 from arch/mips/kernel/smp-cmp.c:22:
16 include/linux/smp.h:135:0: note: this is the location of the
19 In file included from arch/mips/kernel/smp-cmp.c:34:0:
20 arch/mips/include/asm/smp.h:57:20:
21 error: redefinition of 'smp_send_reschedule'
23 In file included from include/linux/sched.h:30:0,
24 from arch/mips/kernel/smp-cmp.c:22:
25 include/linux/smp.h:179:20: note: previous
26 definition of 'smp_send_reschedule' was here
28 In file included from arch/mips/kernel/smp-cmp.c:34:0:
29 arch/mips/include/asm/smp.h: In function 'smp_send_reschedule':
30 arch/mips/include/asm/smp.h:61:8:
31 error: dereferencing pointer to incomplete type
34 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
35 Cc: linux-mips@linux-mips.org
36 Cc: Markos Chandras <markos.chandras@imgtec.com>
37 Patchwork: https://patchwork.linux-mips.org/patch/5812/
38 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
40 arch/mips/Kconfig | 1 +
41 1 file changed, 1 insertion(+)
43 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
44 index e82c066..b537fb1 100644
45 --- a/arch/mips/Kconfig
46 +++ b/arch/mips/Kconfig
47 @@ -2010,6 +2010,7 @@ config MIPS_VPE_APSP_API
49 bool "MIPS CMP framework support"
50 depends on SYS_SUPPORTS_MIPS_CMP
53 select SYS_SUPPORTS_SMP
54 select SYS_SUPPORTS_SCHED_SMT if SMP