]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree-performance-and-correctness-test-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Sep 2012 00:57:34 +0000 (10:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2012 05:58:47 +0000 (15:58 +1000)
fix printk warning: sparc64 cycles_t is unsigned long

Cc: Michel Lespinasse <walken@google.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/rbtree_test.c

index 4c6d2501389f0405e768836220da2374cae9a17c..19dfca9ff7d7d4b857fbbcf1739f4daa7a3b89fa 100644 (file)
@@ -104,7 +104,7 @@ static int rbtree_test_init(void)
        time = time2 - time1;
 
        time = div_u64(time, PERF_LOOPS);
-       printk(" -> %llu cycles\n", time);
+       printk(" -> %llu cycles\n", (unsigned long long)time);
 
        for (i = 0; i < CHECK_LOOPS; i++) {
                init();