Re: [PATCH] tracing/ftrace: add an option to not print the contextinfo for events

From: Andrew Morton
Date: Thu Jan 29 2009 - 19:20:55 EST


On Tue, 20 Jan 2009 16:52:36 -0800 (PST)
Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> + usec_rem = do_div(t, 1000000ULL);

The second argument to do_div() is in fact a u32. It's quite hard to
track this down due to use of macros and lack of comemnts.

Doing

usec_rem = do_div(t, USEC_PER_SEC);

would suit here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/