From 8c5e8807c13e7dd04e7f8842a454db5ff85dd307 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 14 Aug 2012 13:22:41 +1000 Subject: [PATCH] rbtree-performance-and-correctness-test-fix fix printk warning: sparc64 cycles_t is unsigned long Cc: Michel Lespinasse Cc: Fengguang Wu Signed-off-by: Andrew Morton --- lib/rbtree_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 4c6d2501389f..19dfca9ff7d7 100644 --- a/lib/rbtree_test.c +++ b/lib/rbtree_test.c @@ -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(); -- 2.39.5