summaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
Commit message (Collapse)AuthorAgeFilesLines
* include/linux/time.h: define USEC_PER_SEC and friendsAhmad Fatoum2018-12-171-0/+6
| | | | | | | | Linux has them in include/linux/time64.h and they are useful for making (especially microsecond) use readable such as in read*_poll_timeout. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fs: move struct timespec to include/linux/time.hYegor Yefremov2016-01-291-0/+5
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: move the NSEC_PER_SEC constant to common headerAntony Pavlov2012-06-291-0/+2
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include/linux/time.h: remove dead codeSascha Hauer2012-06-291-152/+0
| | | | | | | | include/linux/time.h contains several unused functions derived from U-Boot code. Since this is a file under include/linux/ it should contain only code from the kernel, so remove all this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Initial revisionwdenk2002-03-081-0/+158