[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: Kconfig: CMP support needs to select SMP as well
From:       linux-mips () linux-mips ! org
Date:       2013-09-19 9:52:13
Message-ID: S6868712Ab3ISJwQF0VsF/20130919095216Z+1323 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: Markos Chandras <markos.chandras@imgtec.com> Fri Sep 6 10:47:26 2013 +0100
Comitter: Ralf Baechle <ralf@linux-mips.org> Wed Sep 18 13:14:53 2013 +0200
Commit: ade8eb11fc6b14db33d50e19ebdad3b78ac4b424
Gitweb: http://git.linux-mips.org/g/ralf/linux/ade8eb11fc6b
Branch: linux-3.8-stable

The CMP code is only designed to work with SMP configurations.
Fixes multiple build problems on certain randconfigs:

In file included from arch/mips/kernel/smp-cmp.c:34:0:
arch/mips/include/asm/smp.h:28:0:
error: "raw_smp_processor_id" redefined [-Werror]

In file included from include/linux/sched.h:30:0,
from arch/mips/kernel/smp-cmp.c:22:
include/linux/smp.h:135:0: note: this is the location of the
previous definition

In file included from arch/mips/kernel/smp-cmp.c:34:0:
arch/mips/include/asm/smp.h:57:20:
error: redefinition of 'smp_send_reschedule'

In file included from include/linux/sched.h:30:0,
from arch/mips/kernel/smp-cmp.c:22:
include/linux/smp.h:179:20: note: previous
definition of 'smp_send_reschedule' was here

In file included from arch/mips/kernel/smp-cmp.c:34:0:
arch/mips/include/asm/smp.h: In function 'smp_send_reschedule':
arch/mips/include/asm/smp.h:61:8:
error: dereferencing pointer to incomplete type
[...]

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/5812/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit e3f31befc313b2207c1f9e66bb296400c40acd9c)

---

 arch/mips/Kconfig |    1 +
 1 file changed, 1 insertion(+)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic