]> Pileus Git - ~andy/linux/blobdiff - kernel/hrtimer.c
[S390] s390,oprofile: fix alert counter increment
[~andy/linux] / kernel / hrtimer.c
index 87fdb3f8db14c50e6238a68267834169ce6b6300..dbbbf7d430801923b8c6d544eab4f79943659547 100644 (file)
@@ -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,