msm: rtb: Only select separate cpus if SMP
The register trace buffer has an option to log entries from CPUs
separately. This only make sense on an SMP system and the parsing
tools make certain assumptions if the step size is 1, which is
generally equal to the number of cpus when MSM_RTB_SEPARATE_CPUS
is selected. Avoid problems by requiring CONFIG_SMP to be selected
when trying to use MSM_RTB_SEPARATE_CPUS.
Change-Id: I9ee6cae7b4136e9b7ec1e60a4e4e9722e8b0ca8c
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index c325217..0f31a0f 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -2090,6 +2090,7 @@
config MSM_RTB_SEPARATE_CPUS
bool "Separate entries for each cpu"
depends on MSM_RTB
+ depends on SMP
help
Under some circumstances, it may be beneficial to give dedicated space
for each cpu to log accesses. Selecting this option will log each cpu