]> err.no Git - linux-2.6/blobdiff - arch/s390/kernel/time.c
sched: restore deterministic CPU accounting on powerpc
[linux-2.6] / arch / s390 / kernel / time.c
index 48dae49bc1ec474ffe80f3eed427a610f48d48bf..22b800ce2126d0fed3c47400229ef95f4060310b 100644 (file)
@@ -145,12 +145,8 @@ void account_ticks(u64 time)
        do_timer(ticks);
 #endif
 
-#ifdef CONFIG_VIRT_CPU_ACCOUNTING
-       account_tick_vtime(current);
-#else
        while (ticks--)
                update_process_times(user_mode(get_irq_regs()));
-#endif
 
        s390_do_profile();
 }
@@ -307,7 +303,7 @@ static cycle_t read_tod_clock(void)
 
 static struct clocksource clocksource_tod = {
        .name           = "tod",
-       .rating         = 100,
+       .rating         = 400,
        .read           = read_tod_clock,
        .mask           = -1ULL,
        .mult           = 1000,