summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-05-28 09:28:02 +0200
committerChanho Park <chanho61.park@samsung.com>2014-04-16 21:36:41 +0900
commit2ecf08697f158a830f97d3d519dc101ad6e0d925 (patch)
tree3caffa3607c535bf2453e4dfc2781a55f5b6e631
parentce1e3c7c1c59b109b42625d10905192f16e87367 (diff)
downloadlinux-3.10-2ecf08697f158a830f97d3d519dc101ad6e0d925.tar.gz
linux-3.10-2ecf08697f158a830f97d3d519dc101ad6e0d925.tar.bz2
linux-3.10-2ecf08697f158a830f97d3d519dc101ad6e0d925.zip
clockevents: Define CS_NAME_LEN unconditionally
Unbreak architectures which do not use clockevents, but require to build some of the core timekeeping infrastructure Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/time/tick-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
index 2ac1efac2a4..76b0befa14d 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -6,6 +6,8 @@
extern seqlock_t jiffies_lock;
+#define CS_NAME_LEN 32
+
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
#define TICK_DO_TIMER_NONE -1