]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/clocksource/exynos_mct.c
zram: fix race between backing_dev_show and backing_dev_store
[linux.git] / drivers / clocksource / exynos_mct.c
index e8eab16b154b1a5e86a5b0658b43ea38900e34cb..74cb299f5089e7fa00ff50ce4546c0512891f08c 100644 (file)
@@ -206,7 +206,7 @@ static void exynos4_frc_resume(struct clocksource *cs)
 
 static struct clocksource mct_frc = {
        .name           = "mct-frc",
-       .rating         = 400,
+       .rating         = 450,  /* use value higher than ARM arch timer */
        .read           = exynos4_frc_read,
        .mask           = CLOCKSOURCE_MASK(32),
        .flags          = CLOCK_SOURCE_IS_CONTINUOUS,
@@ -461,7 +461,7 @@ static int exynos4_mct_starting_cpu(unsigned int cpu)
        evt->set_state_oneshot_stopped = set_state_shutdown;
        evt->tick_resume = set_state_shutdown;
        evt->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT;
-       evt->rating = 450;
+       evt->rating = 500;      /* use value higher than ARM arch timer */
 
        exynos4_mct_write(TICK_BASE_CNT, mevt->base + MCT_L_TCNTB_OFFSET);