]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree-performance-and-correctness-test-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 13 Sep 2012 00:58:47 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:45:55 +0000 (20:45 +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();