]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - include/linux/cputime.h
cputime: Default implementation of nsecs -> cputime conversion
[mirror_ubuntu-zesty-kernel.git] / include / linux / cputime.h
CommitLineData
bfc3f028
FW
1#ifndef __LINUX_CPUTIME_H
2#define __LINUX_CPUTIME_H
3
4#include <asm/cputime.h>
5
6#ifndef nsecs_to_cputime
7# define nsecs_to_cputime(__nsecs) \
8 usecs_to_cputime((__nsecs) / NSEC_PER_USEC)
9#endif
10
11#endif /* __LINUX_CPUTIME_H */