From 099beb4edc3a4b53d5d0c3cba27b698ebe60eced Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 2 May 2011 15:24:27 -0400 Subject: [PATCH] --- yaml --- r: 245640 b: refs/heads/master c: 942c3c5c329274fa6de5998cb911cf3d0a42d0b1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/hrtimer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 502babe927c8..c8098423bbc4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3687a2c0d81b23d30db4384ca804a701fc686e16 +refs/heads/master: 942c3c5c329274fa6de5998cb911cf3d0a42d0b1 diff --git a/trunk/kernel/hrtimer.c b/trunk/kernel/hrtimer.c index 87fdb3f8db14..dbbbf7d43080 100644 --- a/trunk/kernel/hrtimer.c +++ b/trunk/kernel/hrtimer.c @@ -81,7 +81,7 @@ DEFINE_PER_CPU(struct hrtimer_cpu_base, hrtimer_bases) = } }; -static int hrtimer_clock_to_base_table[MAX_CLOCKS] = { +static const int hrtimer_clock_to_base_table[MAX_CLOCKS] = { [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME,