diff options
author | Ian Munsie <imunsie@au1.ibm.com> | 2012-11-14 13:49:49 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-01-09 23:09:08 -0500 |
commit | 440bc685532fd17c16ec2a3aae2c7877d30b7942 (patch) | |
tree | 99b4fa347d0d89388f15c8c9763282c578ff3512 /arch | |
parent | fe9e1d54e3ea2e5134d7aaa233441f9229326ef6 (diff) |
powerpc: Update Kconfig + Makefile to prepare for server doorbells
Move the rule to build doorbell support out of the Makefile and into a
new Kconfig boolean that platforms can select.
We will add doorbell support to pseries as well in the next patch.
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Tested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 8f619342f14c..44fbbea7697a 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -75,8 +75,8 @@ endif | |||
75 | obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o | 75 | obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o |
76 | obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o | 76 | obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o |
77 | obj-$(CONFIG_44x) += cpu_setup_44x.o | 77 | obj-$(CONFIG_44x) += cpu_setup_44x.o |
78 | obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o dbell.o | 78 | obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o |
79 | obj-$(CONFIG_PPC_BOOK3E_64) += dbell.o | 79 | obj-$(CONFIG_PPC_DOORBELL) += dbell.o |
80 | obj-$(CONFIG_JUMP_LABEL) += jump_label.o | 80 | obj-$(CONFIG_JUMP_LABEL) += jump_label.o |
81 | 81 | ||
82 | extra-y := head_$(CONFIG_WORD_SIZE).o | 82 | extra-y := head_$(CONFIG_WORD_SIZE).o |
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 72afd2888cad..cea2f09c4241 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
@@ -76,6 +76,7 @@ config PPC_BOOK3E_64 | |||
76 | bool "Embedded processors" | 76 | bool "Embedded processors" |
77 | select PPC_FPU # Make it a choice ? | 77 | select PPC_FPU # Make it a choice ? |
78 | select PPC_SMP_MUXED_IPI | 78 | select PPC_SMP_MUXED_IPI |
79 | select PPC_DOORBELL | ||
79 | 80 | ||
80 | endchoice | 81 | endchoice |
81 | 82 | ||
@@ -208,6 +209,7 @@ config PPC_FSL_BOOK3E | |||
208 | select FSL_EMB_PERFMON | 209 | select FSL_EMB_PERFMON |
209 | select PPC_SMP_MUXED_IPI | 210 | select PPC_SMP_MUXED_IPI |
210 | select SYS_SUPPORTS_HUGETLBFS if PHYS_64BIT || PPC64 | 211 | select SYS_SUPPORTS_HUGETLBFS if PHYS_64BIT || PPC64 |
212 | select PPC_DOORBELL | ||
211 | default y if FSL_BOOKE | 213 | default y if FSL_BOOKE |
212 | 214 | ||
213 | config PTE_64BIT | 215 | config PTE_64BIT |
@@ -382,4 +384,8 @@ config NOT_COHERENT_CACHE | |||
382 | config CHECK_CACHE_COHERENCY | 384 | config CHECK_CACHE_COHERENCY |
383 | bool | 385 | bool |
384 | 386 | ||
387 | config PPC_DOORBELL | ||
388 | bool | ||
389 | default n | ||
390 | |||
385 | endmenu | 391 | endmenu |