From: Paul Mundt <lethal@linux-sh.org>
Date: Fri, 5 Sep 2008 06:36:39 +0000 (+0900)
Subject: sh: Don't enable clockevents broadcasting on UP SH-X3 builds.
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5840263ecb95e55a2d248fc740644a2c9171a61c;p=linux.git

sh: Don't enable clockevents broadcasting on UP SH-X3 builds.

Fixes up compile errors with missing timer definitions. It's pointless to
have this enabled anyways if CONFIG_SMP=n.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 399664c1f386c..af2b174fd7d9c 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -326,7 +326,7 @@ config CPU_SUBTYPE_SHX3
 	select ARCH_SPARSEMEM_ENABLE
 	select SYS_SUPPORTS_NUMA
 	select SYS_SUPPORTS_SMP
-	select GENERIC_CLOCKEVENTS_BROADCAST
+	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
 
 # SH4AL-DSP Processor Support