diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-01-15 05:31:50 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-06 15:25:22 -0500 |
commit | 72e20142b2bf4cf1c3071e6cf49d01f55f2e1e53 (patch) | |
tree | 6aa67f96e1e1f83aed0030e0d3c6a39a811c6e86 /arch/mips/Kconfig | |
parent | 1d68808748afe21ac35bedc2726043bea33a1c0d (diff) |
MIPS: Move GIC IPI functions out of smp-cmp.c
The GIC IPI functions aren't necessarily specific to the "CMP
framework" SMP implementation, and will be used elsewhere in a
subsequent commit. This patch adds cleaned up GIC IPI functions to a
separate file which is compiled when a new CONFIG_MIPS_GIC_IPI Kconfig
symbol is selected, and selects that symbol for CONFIG_MIPS_CMP.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6359/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index dcae3a7035db..17f198914e6d 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1996,12 +1996,16 @@ config MIPS_VPE_APSP_API_MT | |||
1996 | config MIPS_CMP | 1996 | config MIPS_CMP |
1997 | bool "MIPS CMP support" | 1997 | bool "MIPS CMP support" |
1998 | depends on SYS_SUPPORTS_MIPS_CMP && MIPS_MT_SMP | 1998 | depends on SYS_SUPPORTS_MIPS_CMP && MIPS_MT_SMP |
1999 | select MIPS_GIC_IPI | ||
1999 | select SYNC_R4K | 2000 | select SYNC_R4K |
2000 | select WEAK_ORDERING | 2001 | select WEAK_ORDERING |
2001 | default n | 2002 | default n |
2002 | help | 2003 | help |
2003 | Enable Coherency Manager processor (CMP) support. | 2004 | Enable Coherency Manager processor (CMP) support. |
2004 | 2005 | ||
2006 | config MIPS_GIC_IPI | ||
2007 | bool | ||
2008 | |||
2005 | config SB1_PASS_1_WORKAROUNDS | 2009 | config SB1_PASS_1_WORKAROUNDS |
2006 | bool | 2010 | bool |
2007 | depends on CPU_SB1_PASS_1 | 2011 | depends on CPU_SB1_PASS_1 |