]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree-performance-and-correctness-test-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 14 Aug 2012 03:22:41 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 21 Aug 2012 05:18:15 +0000 (15:18 +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();