do_div() takes a u64. The mips build warns:
In file included from include/trace/ftrace.h:635,
from include/trace/define_trace.h:61,
from include/trace/events/lockdep.h:96,
from kernel/lockdep.c:52:
include/trace/events/lockdep.h: In function `ftrace_raw_event_lock_acquired':
include/trace/events/lockdep.h:71: warning: comparison of distinct pointer types lacks a cast
from the check in include/asm-generic/div64.h:do_div().
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment