[PATCH] cputime: simplifiy generic cputime_to_secs/secs_to_cputime
The cputime_to_secs and secs_to_cputime primitives in include/asm-generic/cputime.h can be simplified since the default cputime implementation assumes that cputime is measured in jiffies. The intermediate conversion to milliseconds is superflous. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment