]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree-performance-and-correctness-test-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:19:25 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Oct 2012 03:12:23 +0000 (14:12 +1100)
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();