time: Add nsecs_to_cputime64 interface for asm-generic
authorVenkatesh Pallipadi <venki@google.com>
Wed, 22 Dec 2010 01:09:01 +0000 (17:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Jan 2011 11:33:20 +0000 (12:33 +0100)
commita1dabb6bfffccb897eff3e1d102dacf2a4bedf3b
tree412e36223e65fca0bd8ea7db6a57553a25799245
parent4dd53d891ca46dcc1fde0376a33540d3fd83cb9a
time: Add nsecs_to_cputime64 interface for asm-generic

Add nsecs_to_cputime64 interface. This is used in following patches that
updates cpu irq stat based on ns granularity info in IRQ_TIME_ACCOUNTING.

Tested-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1292980144-28796-3-git-send-email-venki@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-generic/cputime.h
include/linux/jiffies.h
kernel/time.c