]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/posix-cpu-timers.c
Merge commit 'v2.6.28' into core/core
[linux-2.6-omap-h63xx.git] / kernel / posix-cpu-timers.c
index 3f4377e0aa048f976ec57ddb8875b3a8e0226df1..157de3a478321ab80c8c05cee5ffd07da68bab39 100644 (file)
@@ -311,7 +311,7 @@ static int cpu_clock_sample_group(const clockid_t which_clock,
        struct task_cputime cputime;
 
        thread_group_cputime(p, &cputime);
-       switch (which_clock) {
+       switch (CPUCLOCK_WHICH(which_clock)) {
        default:
                return -EINVAL;
        case CPUCLOCK_PROF: