sched, latencytop: incorporate review feedback from Andrew Morton
authorArjan van de Ven <arjan@infradead.org>
Tue, 10 Feb 2009 19:42:26 +0000 (11:42 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 09:18:04 +0000 (10:18 +0100)
commitad0b0fd554dfc126b5750d14908dccc3bbf602be
tree35e178387e36ac62672e2076231a608c571de0c1
parentf437e8b53eab92a5829e65781e29aed23d8ffd0c
sched, latencytop: incorporate review feedback from Andrew Morton

Andrew had some suggestions for the latencytop file; this patch takes care
of most of these:

* Add documentation
* Turn account_scheduler_latency into an inline function
* Don't report negative values to userspace
* Make the file operations struct const
* Fix a few checkpatch.pl warnings

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/latencytop.h
kernel/latencytop.c