]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/oprofile/cell/spu_profiler.c
hrtimer: convert powerpc/oprofile to the new hrtimer apis
[linux-2.6-omap-h63xx.git] / arch / powerpc / oprofile / cell / spu_profiler.c
index 380d7e21753139a0eb72010daa48cca7ad92d869..02ffe060db51d4f449395ab3823579ba4c20e6af 100644 (file)
@@ -196,7 +196,7 @@ int start_spu_profiling(unsigned int cycles_reset)
        pr_debug("timer resolution: %lu\n", TICK_NSEC);
        kt = ktime_set(0, profiling_interval);
        hrtimer_init(&timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
-       timer.expires = kt;
+       hrtimer_set_expires(&timer, kt);
        timer.function = profile_spus;
 
        /* Allocate arrays for collecting SPU PC samples */