[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090129161956.9158e9c6.akpm@linux-foundation.org>
Date: Thu, 29 Jan 2009 16:19:56 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: rostedt@...dmis.org, mingo@...e.hu, linux-kernel@...r.kernel.org,
acme@...stprotocols.net, fweisbec@...il.com
Subject: Re: [PATCH] tracing/ftrace: add an option to not print the context
info for events
On Tue, 20 Jan 2009 16:52:36 -0800 (PST)
Frederic Weisbecker <fweisbec@...il.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists